glibc 2.3.2 BUILD patch

Jasper Huijsmans jasper at moongroup.com
Tue Mar 11 09:17:27 GMT 2003


hi,

I needed to apply this patch to get rid of two errors. Is it ok to
commit?

Index: BUILD
===================================================================
RCS file: /var/cvs/crater/libs/glibc/BUILD,v
retrieving revision 1.4
diff -u -r1.4 BUILD
--- BUILD	10 Mar 2003 19:12:11 -0000	1.4
+++ BUILD	11 Mar 2003 08:06:42 -0000
@@ -2,13 +2,13 @@
   #Patch stuff
   patch_it $SOURCE_CACHE/$SOURCE3 1             # Via c3
   patch_it $SOURCE_CACHE/$SOURCE4 1             # old static-bin
segfault
-  if [ "$MAKES" -gt "1" ] ; then
+  if [ -n "$MAKES" ] && [ $MAKES -gt 1 ] ; then
     sedit "s/# PARALLELMFLAGS = -j 4/PARALLELMFLAGS = -j $MAKES/"
Makefile.in
   fi
 
   # Allow users to do a little damage
   if [[ "$CFLAGS" == *-fomit-frame-pointer* ]] ; then
-    $OPTS="$OPTS --enable-omitfp"
+    OPTS="$OPTS --enable-omitfp"
   fi
 
   # Don't allow too much damage


More information about the Lunar-dev mailing list