Index: BOOK/boot/multilib/grub-build.xml
===================================================================
--- BOOK/boot/multilib/grub-build.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/boot/multilib/grub-build.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -32,5 +32,5 @@
Index: BOOK/boot/sparc/silo-build.xml
===================================================================
--- BOOK/boot/sparc/silo-build.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/boot/sparc/silo-build.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -33,5 +33,6 @@
This sed allows us to compile the bin2h binary separately.
-sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &@' common/Makefile
+cp -v common/Makefile{,.orig}
+sed -e 's@\$(PROGRAMS)$@programs\n\nprograms: &@' common/Makefile.orig > common/Makefile
Compile the bin2h and util binaries for the host.
Index: BOOK/boot/x86/grub-build.xml
===================================================================
--- BOOK/boot/x86/grub-build.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/boot/x86/grub-build.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -31,7 +31,6 @@
xpointer="xpointer(//*[@os='s1'])"/>
-
+cp -v grub-core/gnulib/stdio.in.h{,.orig}
+sed -e '/gets is a/d' grub-core/gnulib/stdio.in.h.orig > grub-core/gnulib/stdio.in.h
Index: BOOK/temp-system/common/cloog.xml
===================================================================
--- BOOK/temp-system/common/cloog.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/common/cloog.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -33,7 +33,6 @@
xpointer="xpointer(//*[@os='s1'])"/>
-
+cp -v Makefile{,.orig}
+sed '/cmake/d' Makefile.orig > Makefile
Compile the package:
Index: BOOK/temp-system/common/gcc.xml
===================================================================
--- BOOK/temp-system/common/gcc.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/common/gcc.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -51,7 +51,6 @@
xpointer="xpointer(//*[@os='fix1'])"/>
-
+cp -v gcc/Makefile.in{,.orig}
+sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in
Index: BOOK/temp-system/mips64/gcc.xml
===================================================================
--- BOOK/temp-system/mips64/gcc.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/mips64/gcc.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -52,5 +52,5 @@
Index: BOOK/temp-system/multilib/cloog.xml
===================================================================
--- BOOK/temp-system/multilib/cloog.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/multilib/cloog.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -36,5 +36,5 @@
Index: BOOK/temp-system/multilib/gcc.xml
===================================================================
--- BOOK/temp-system/multilib/gcc.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/multilib/gcc.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -52,5 +52,5 @@
Index: BOOK/temp-system/ppc/gcc.xml
===================================================================
--- BOOK/temp-system/ppc/gcc.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/ppc/gcc.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -52,5 +52,5 @@
Index: BOOK/temp-system/ppc64-64/gcc.xml
===================================================================
--- BOOK/temp-system/ppc64-64/gcc.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/ppc64-64/gcc.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -52,5 +52,5 @@
Index: BOOK/temp-system/ppc64/gcc.xml
===================================================================
--- BOOK/temp-system/ppc64/gcc.xml (revision a6d01ee5bfeba6cfec200ff2315d4835c26aec62)
+++ BOOK/temp-system/ppc64/gcc.xml (revision 080d5301695285e426164ba13668c5be30e4e643)
@@ -52,5 +52,5 @@