SOURCES: glibc-ppc-include-mathinline.patch (NEW) - fix build on P...

sparky sparky at pld-linux.org
Fri Oct 6 19:26:20 CEST 2006


Author: sparky                       Date: Fri Oct  6 17:26:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build on PowerPC

---- Files affected:
SOURCES:
   glibc-ppc-include-mathinline.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/glibc-ppc-include-mathinline.patch
diff -u /dev/null SOURCES/glibc-ppc-include-mathinline.patch:1.1
--- /dev/null	Fri Oct  6 19:26:20 2006
+++ SOURCES/glibc-ppc-include-mathinline.patch	Fri Oct  6 19:26:15 2006
@@ -0,0 +1,26 @@
+--- glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c~	2006-10-06 18:33:08.000000000 +0200
++++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c	2006-10-06 18:32:25.000000000 +0200
+@@ -17,6 +17,10 @@
+    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+    02111-1307 USA.  */
+ 
++/* make sure bits/mathinline.h is included */
++#ifndef __USE_EXTERN_INLINES
++# define __USE_EXTERN_INLINES
++#endif
+ #include <math.h>
+ #include <math_private.h>
+ #include <fenv_libc.h>
+--- glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c~	2006-04-14 07:44:30.000000000 +0200
++++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c	2006-10-06 18:32:45.000000000 +0200
+@@ -17,6 +17,10 @@
+    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+    02111-1307 USA.  */
+ 
++/* make sure bits/mathinline.h is included */
++#ifndef __USE_EXTERN_INLINES
++# define __USE_EXTERN_INLINES
++#endif
+ #include <math.h>
+ #include <math_private.h>
+ #include <fenv_libc.h>
================================================================


More information about the pld-cvs-commit mailing list