[SM-Commit] GIT changes to master grimoire by Eric Sandall (f3494afea47d9a5d686b1f87b732ad3704f7ab6d)

Eric Sandall scm at sourcemage.org
Thu Apr 10 14:39:47 EDT 2008


GIT changes to master grimoire by Eric Sandall <sandalle at sourcemage.org>:

 libs/glibc/DEPENDS     |    1 +
 libs/glibc/HISTORY     |    7 +++++++
 libs/glibc/PRE_BUILD   |    8 ++++++++
 libs/glibc/gcc43.patch |   26 ++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)

New commits:
commit f3494afea47d9a5d686b1f87b732ad3704f7ab6d
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    glibc: Fix finding limits.h (not sure how this commit got lost, sorry)

diff --git a/libs/glibc/DEPENDS b/libs/glibc/DEPENDS
index 7d79478..58087ea 100755
--- a/libs/glibc/DEPENDS
+++ b/libs/glibc/DEPENDS
@@ -1,3 +1,4 @@
+depends  autoconf       &&
 depends  gcc            &&
 depends  gettext        &&
 depends  gnupg          &&
diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index e525c40..6f12619 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,10 @@
+2008-04-10 Eric Sandall <sandalle at sourcemage.org>
+	* DEPENDS: Depend on autoconf for rebuilding configure
+	* PRE_BUILD: Apply gcc43.patch to configure.in
+	  Run `autoconf` to rebuild configure from configure.in
+	* gcc43.patch: Patch to fix finding limits.h
+	  From http://sources.redhat.com/bugzilla/show_bug.cgi?id=5442
+
 2007-10-31 David Brown <dmlb2000 at gmail.com>
 	* BUILD: updated new cflags for 2.7
 	* DETAILS: updated glibc to 2.7
diff --git a/libs/glibc/PRE_BUILD b/libs/glibc/PRE_BUILD
index 19cef96..67e3dcf 100755
--- a/libs/glibc/PRE_BUILD
+++ b/libs/glibc/PRE_BUILD
@@ -55,6 +55,14 @@ cd  $SOURCE_DIRECTORY                               &&
 patch  -p0  <  $SCRIPT_DIRECTORY/Makefile.patch     &&
 patch  -p1  <  $SCRIPT_DIRECTORY/as-test-x.patch &&
 
+#
+# Fix for GCC 4.3.0
+# http://sources.redhat.com/bugzilla/show_bug.cgi?id=5442
+#
+patch $SOURCE_DIRECTORY/configure.in  \
+      $SCRIPT_DIRECTORY/gcc43.patch   &&
+autoconf                              &&
+
 # disabled libgd detection/building memusagestat for now until a better
 # fix has been found, bug #8277
 sedit  's/LIBGD=yes/LIBGD=no/'  $SOURCE_DIRECTORY/configure  &&
diff --git a/libs/glibc/gcc43.patch b/libs/glibc/gcc43.patch
new file mode 100644
index 0000000..9404219
--- /dev/null
+++ b/libs/glibc/gcc43.patch
@@ -0,0 +1,26 @@
+2007-03-18  Joseph Myers  <joseph at codesourcery.com>
+
+	* configure.in: Also pass -isystem option for GCC's include-fixed
+	directory.
+	* configure: Regenerate.
+
+Index: configure.in
+===================================================================
+RCS file: /cvs/glibc/libc/configure.in,v
+retrieving revision 1.468
+diff -u -r1.468 configure.in
+--- configure.in	17 Mar 2007 17:01:46 -0000	1.468
++++ configure.in	18 Mar 2007 20:35:03 -0000
+@@ -912,7 +912,7 @@
+ # thing on a system that doesn't need fixincludes.  (Not presently a problem.)
+ if test -n "$sysheaders"; then
+   ccheaders=`$CC -print-file-name=include`
+-  SYSINCLUDES="-nostdinc -isystem $ccheaders \
++  SYSINCLUDES="-nostdinc -isystem $ccheaders -isystem $ccheaders-fixed \
+ -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
+   if test -n "$CXX"; then
+     cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` &&
+
+--
+Joseph S. Myers
+joseph at codesourcery.com



More information about the SM-Commit mailing list