Package: ogre
Version: 1.0.6-1.3
Severity: wishlist
Tags: patch
When building 'ogre' on ppc64/unstable, I get the following error:
if /bin/sh ../../libtool --tag=CXX --mode=compile powerpc64-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I../../OgreMain/include -I/usr/include/freetype2
-I../../OgreMain/include -DOGRE_NONCLIENT_BUILD -g -O2 -MT
OgreBillboardParticleRenderer.lo -MD -MP -MF
".deps/OgreBillboardParticleRenderer.Tpo" -c -o
OgreBillboardParticleRenderer.lo OgreBillboardParticleRenderer.cpp; \
then mv -f ".deps/OgreBillboardParticleRenderer.Tpo"
".deps/OgreBillboardParticleRenderer.Plo"; else rm -f
".deps/OgreBillboardParticleRenderer.Tpo"; exit 1; fi
powerpc64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../OgreMain/include
-I/usr/include/freetype2 -I../../OgreMain/include -DOGRE_NONCLIENT_BUILD -g -O2
-MT OgreBillboardParticleRenderer.lo -MD -MP -MF
.deps/OgreBillboardParticleRenderer.Tpo -c OgreBillboardParticleRenderer.cpp
-fPIC -DPIC -o .libs/OgreBillboardParticleRenderer.o
../../OgreMain/include/OgreStringConverter.h:96: error: 'static Ogre::String
Ogre::StringConverter::toString(long unsigned int, short unsigned int, char,
std::_Ios_Fmtflags)' cannot be overloaded
../../OgreMain/include/OgreStringConverter.h:92: error: with 'static
Ogre::String Ogre::StringConverter::toString(size_t, short unsigned int, char,
std::_Ios_Fmtflags)'
make[3]: *** [OgreBillboardParticleRenderer.lo] Error 1
make[3]: Leaving directory `/ogre-1.0.6/build-tree/ogre-free/OgreMain/src'
With the attached patch 'ogre' can be compiled on ppc64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/ogre-1.0.6/debian/patches/10_ppc64
./debian/patches/10_ppc64
--- ../tmp-orig/ogre-1.0.6/debian/patches/10_ppc64 1970-01-01
00:00:00.000000000 +0000
+++ ./debian/patches/10_ppc64 2006-04-20 15:10:36.000000000 +0000
@@ -0,0 +1,12 @@
+diff -urN tmp/OgreMain/include/OgrePlatform.h
ogre-free/OgreMain/include/OgrePlatform.h
+--- tmp/OgreMain/include/OgrePlatform.h 2005-06-24 02:02:08.000000000
+0000
++++ ogre-free/OgreMain/include/OgrePlatform.h 2006-04-20 15:09:26.000000000
+0000
+@@ -87,7 +87,7 @@
+ #endif
+
+ /* Find the arch type */
+-#if defined(__x86_64__)
++#if defined(__x86_64__) || defined(__powerpc64__)
+ # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_64
+ #else
+ # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]