Package: libfoundation1.0
Version: 1.0.76-1
Severity: normal
Tags: patch

When building 'libfoundation1.0' on ppc64/unstable,
I get the following error:

gcc behavior.m -c \
      -MMD -MP -DLIB_FOUNDATION_LIBRARY=1 -DFD_WITH_GSMAKE=1 -Wall 
-Ipowerpc64/linux-gnu -DLIB_FOUNDATION_LIBRARY=1 -DGNU_RUNTIME=1 -D_REENTRANT 
-fPIC -DGSWARN -DGSDIAGNOSE -O0 -fno-strict-aliasing -fgnu-runtime -I.. 
-Ipowerpc64/linux-gnu/GNU -I. -I/root/GNUstep/Library/Headers 
-I/usr/local/lib/opengroupware.org/Local/Library/Headers 
-I/usr/local/lib/opengroupware.org/Network/Library/Headers 
-I/usr/lib/opengroupware.org/System/Library/Headers 
-I/root/GNUstep/Library/Headers/libFoundation 
-I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation 
-I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation 
-I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation 
-I/root/GNUstep/Library/Headers/libFoundation/./GNU 
-I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation/./GNU 
-I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation/./GNU 
-I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation/./GNU \
       -o shared_obj/./GNU/behavior.o
In file included from ../config/powerpc64/linux-gnu.h:28,
                 from powerpc64/linux-gnu/GNU/config.h:232,
                 from ../Foundation/common.h:31,
                 from behavior.m:29:
../config/powerpc64/linux.h:28:18: error: i386.h: No such file or directory
make[3]: *** [shared_obj/./GNU/behavior.o] Error 1
make[2]: *** [libFoundation.all.library.variables] Error 2
make[2]: Leaving directory `/libfoundation1.0-1.0.76/Foundation'

With the attached patch 'libfoundation1.0' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/libfoundation1.0-1.0.76/config/powerpc64/linux.h 
./config/powerpc64/linux.h
--- ../tmp-orig/libfoundation1.0-1.0.76/config/powerpc64/linux.h        
2005-08-08 17:00:46.000000000 +0200
+++ ./config/powerpc64/linux.h  2005-09-01 17:23:22.000000000 +0200
@@ -25,7 +25,7 @@
 #ifndef __linux_h__
 #define __linux_h__
 
-#include "i386.h"
+#include "powerpc64.h"
 
 #undef FUNCTION_VALUE
 #undef FUNCTION_SET_VALUE


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

Reply via email to