diff options
author | David Holm <dholm@gentoo.org> | 2004-03-22 10:52:05 +0000 |
---|---|---|
committer | David Holm <dholm@gentoo.org> | 2004-03-22 10:52:05 +0000 |
commit | 5f4a5e353103d0b6d5de8179df41964e2a7a7700 (patch) | |
tree | 9aedd6095ebce9f77a29141efff755b3ca70eba7 /dev-games/neoengine/files | |
parent | Adding version 3.0.9 (Manifest recommit) (diff) | |
download | gentoo-2-5f4a5e353103d0b6d5de8179df41964e2a7a7700.tar.gz gentoo-2-5f4a5e353103d0b6d5de8179df41964e2a7a7700.tar.bz2 gentoo-2-5f4a5e353103d0b6d5de8179df41964e2a7a7700.zip |
Initial import
Diffstat (limited to 'dev-games/neoengine/files')
-rw-r--r-- | dev-games/neoengine/files/0.7.0-execute.patch | 29 | ||||
-rw-r--r-- | dev-games/neoengine/files/0.7.0-ppc.patch | 65 | ||||
-rw-r--r-- | dev-games/neoengine/files/digest-neoengine-0.7.0 | 1 |
3 files changed, 95 insertions, 0 deletions
diff --git a/dev-games/neoengine/files/0.7.0-execute.patch b/dev-games/neoengine/files/0.7.0-execute.patch new file mode 100644 index 000000000000..144b4b612797 --- /dev/null +++ b/dev-games/neoengine/files/0.7.0-execute.patch @@ -0,0 +1,29 @@ +--- neoengine-0.7.0/neodevopengl/execute.cpp.orig 2004-01-22 21:52:19.000000000 +0100 ++++ neoengine-0.7.0/neodevopengl/execute.cpp 2004-03-22 00:33:19.000000000 +0100 +@@ -190,7 +190,7 @@ + + Program *pkProgram = static_cast< Program* >( (NeoEngine::Program*)pkMat->m_pkVertexProgram ); + +- pkProgram->Bind( pkOp ); ++ pkProgram->Bind( pkOp ); + + m_pkDevice->m_pkVertexProgram = pkProgram; + } +@@ -310,7 +310,7 @@ + for( ; uiLayer < m_pkDevice->m_uiNumTMUs; ++uiLayer ) + { + m_pkDevice->m_ppkTMU[ uiLayer ]->Disable(); +- m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( 0, uiLayer, 0 ); ++ m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( pkVertexBuffer, uiLayer, 0 ); + } + + //Render up to this layer +@@ -357,7 +357,7 @@ + for( ; uiLayer < m_pkDevice->m_uiNumTMUs; ++uiLayer ) + { + m_pkDevice->m_ppkTMU[ uiLayer ]->Disable(); +- m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( 0, uiLayer, 0 ); ++ m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( pkVertexBuffer, uiLayer, 0 ); + } + } + diff --git a/dev-games/neoengine/files/0.7.0-ppc.patch b/dev-games/neoengine/files/0.7.0-ppc.patch new file mode 100644 index 000000000000..167df64aaf3d --- /dev/null +++ b/dev-games/neoengine/files/0.7.0-ppc.patch @@ -0,0 +1,65 @@ +diff -Naur neoengine-0.7.0.orig/neoengine/core.cpp neoengine-0.7.0/neoengine/core.cpp +--- neoengine-0.7.0.orig/neoengine/core.cpp 2004-01-22 21:53:18.000000000 +0100 ++++ neoengine-0.7.0/neoengine/core.cpp 2004-03-22 10:55:49.000000000 +0100 +@@ -55,11 +55,11 @@ + # include <windows.h> + # include <winsock2.h> + # undef ERROR +-#elif defined(POSIX) || defined(__APPLE__) ++#elif defined(POSIX) || defined(ARCH_PPC) + # include <sys/time.h> + #endif + +-#ifdef __APPLE__ ++#ifdef ARCH_PPC + # include <sys/sysctl.h> + #endif + +@@ -102,7 +102,7 @@ + + + Core::Core() : +-#ifdef __APPLE__ ++#ifdef ARCH_PPC + m_iHasAltiVec( 0 ), + #endif + +@@ -142,7 +142,7 @@ + #ifdef WIN32 + QueryPerformanceCounter( (LARGE_INTEGER*)&Timer::s_uliOldHeartbeatClock ); + QueryPerformanceFrequency( (LARGE_INTEGER*)&Timer::s_uliDivisor ); +-#elif defined(POSIX) || defined(__APPLE__) ++#elif defined(POSIX) || defined(ARCH_PPC) + timeval tv; + + gettimeofday( &tv, 0 ); +@@ -287,7 +287,7 @@ + << ( m_iHas3DNow ? "3DNow " : "" ) + << ( m_iHas3DNowEx ? "3DNowEx " : "" ) << endl; + +-#elif defined(ARCH_PPC) ++#elif defined(__APPLE__) + + int aiSel[2] = { CTL_HW, HW_VECTORUNIT }; + int iHasVecUnit = 0; +@@ -356,7 +356,7 @@ + neolog << LogLevel( DEBUG ) << " ... setting working directory to [" << strPath << "]" << endl; + #ifdef WIN32 + SetCurrentDirectory( strPath.c_str() ); +-#elif defined(POSIX) || defined(__APPLE__) ++#elif defined(POSIX) || defined(ARCH_PPC) + chdir( strPath.c_str() ); + #endif + } +diff -Naur neoengine-0.7.0.orig/neoengine/core.h neoengine-0.7.0/neoengine/core.h +--- neoengine-0.7.0.orig/neoengine/core.h 2004-01-21 09:40:51.000000000 +0100 ++++ neoengine-0.7.0/neoengine/core.h 2004-03-22 10:55:15.000000000 +0100 +@@ -121,7 +121,7 @@ + #endif + + +-#ifdef __APPLE__ ++#ifdef ARCH_PPC + + /*! Flag indicating AltiVec support in CPU */ + int m_iHasAltiVec; diff --git a/dev-games/neoengine/files/digest-neoengine-0.7.0 b/dev-games/neoengine/files/digest-neoengine-0.7.0 new file mode 100644 index 000000000000..5c81d9fcf358 --- /dev/null +++ b/dev-games/neoengine/files/digest-neoengine-0.7.0 @@ -0,0 +1 @@ +MD5 d48575d01b07389638b92b0782723709 neoengine-0.7.0.tar.bz2 1228371 |