Package: zeroc-icee-translators
Version: 1.1.0-1
Severity: wishlist
Tags: patch

When building 'zeroc-icee-translators' on ppc64/unstable,
I get the following error:

make[3]: Entering directory `/zeroc-icee-translators-1.1.0/src/IceUtil'
c++ -c -I../../include  -DICE_UTIL_API_EXPORTS -I..  -ftemplate-depth-128 -Wall 
-D_REENTRANT -O3 -DNDEBUG Base64.cpp
In file included from ../../include/IceUtil/Base64.h:13,
                 from Base64.cpp:10:
../../include/IceUtil/Config.h:27:5: error: #error "Unknown architecture"
make[3]: *** [Base64.o] Error 1
make[3]: Leaving directory `/zeroc-icee-translators-1.1.0/src/IceUtil'

With the attached patch 'zeroc-icee-translators' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN 
../tmp-orig/zeroc-icee-translators-1.1.0/debian/patches/mips-support.diff 
./debian/patches/mips-support.diff
--- ../tmp-orig/zeroc-icee-translators-1.1.0/debian/patches/mips-support.diff   
2006-04-08 08:33:54.000000000 +0000
+++ ./debian/patches/mips-support.diff  2006-04-08 08:33:29.000000000 +0000
@@ -16,7 +16,16 @@
 -#elif defined(__sparc) || defined(__sparc__) || defined(__hppa) || \
 -      defined(__ppc__) || defined(_ARCH_COM)
 +#elif defined(__sparc) || defined(__sparc__)  || defined(__hppa) || \
-+      defined(__ppc__) || defined(__MIPSEB__) || defined(_ARCH_COM)
++      defined(__ppc__) || defined(__powerpc64__) || defined(__MIPSEB__) || 
defined(_ARCH_COM)
  #   define ICE_BIG_ENDIAN
  #else
  #   error "Unknown architecture"
+@@ -40,7 +40,7 @@
+       defined(__linux) && defined(__x86_64)     || \
+       defined(__hppa) && defined(__LP64__)      || \
+       defined(_ARCH_COM) && defined(__64BIT__)  || \
+-      defined(__alpha__)                        || \
++      defined(__alpha__) || defined(__powerpc64__) || \
+       defined(_WIN64)
+ #   define ICE_64
+ #else


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to