Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (15e6a75bb972d84506491257ba2b17939f3c5452)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (15e6a75bb972d84506491257ba2b17939f3c5452)
  • Date: Thu, 7 Feb 2013 16:46:20 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

gnu/gcc/HISTORY | 6 ++++++
gnu/gcc/PRE_BUILD | 1 +
gnu/gcc/mksysinfo.patch | 22 ++++++++++++++++++++++
3 files changed, 29 insertions(+)

New commits:
commit 15e6a75bb972d84506491257ba2b17939f3c5452
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

gcc: fixed build with go compiler enabled

diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index ae4acae..8a8b299 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,9 @@
+2013-02-08 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: apply the patch
+ * mksysinfo.patch: added, to fix header generation for libgo (included
+ with go compiler)
+ * REPAIR^all^EXPORTS: chmod +x
+
2012-10-03 Vlad Glagolev <stealth AT sourcemage.org>
* PRE_BUILD: apply the patch
* glibc216.patch: added, to fix build with glibc 2.16
diff --git a/gnu/gcc/PRE_BUILD b/gnu/gcc/PRE_BUILD
index e710b43..228b361 100755
--- a/gnu/gcc/PRE_BUILD
+++ b/gnu/gcc/PRE_BUILD
@@ -61,5 +61,6 @@ sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&

patch -p0 < "$SPELL_DIRECTORY/glibc216.patch" &&
patch -p0 < "$SPELL_DIRECTORY/python-gdb.patch" &&
+patch -p0 < "$SPELL_DIRECTORY/mksysinfo.patch" &&
patch -p1 < "$SPELL_DIRECTORY/gcc-4.4.0-ffast-math.patch" &&
patch -p1 < "$SPELL_DIRECTORY/remove-libffi.patch"
diff --git a/gnu/gcc/REPAIR^all^EXPORTS b/gnu/gcc/REPAIR^all^EXPORTS
old mode 100644
new mode 100755
diff --git a/gnu/gcc/mksysinfo.patch b/gnu/gcc/mksysinfo.patch
new file mode 100644
index 0000000..91c9642
--- /dev/null
+++ b/gnu/gcc/mksysinfo.patch
@@ -0,0 +1,22 @@
+--- libgo/mksysinfo.sh.orig 2011-02-21 07:17:20.000000000 +0300
++++ libgo/mksysinfo.sh 2013-02-07 23:52:46.454659972 +0400
+@@ -362,7 +362,7 @@
+ rusage=`echo $rusage | sed -e 's/^ *//'`
+ nrusage=
+ while test -n "$rusage"; do
+- field=`echo $rusage | sed -e 's/^\([^;]*\);.*$/\1/'`
++ field=`echo $rusage | sed -e 's/^\([^;]*\);.*$/\1/' -e 's/struct
\(.*\)/struct { \1; }/'`
+ rusage=`echo $rusage | sed -e 's/^[^;]*; *\(.*\)$/\1/'`
+ # Drop the leading ru_, capitalize the next character.
+ field=`echo $field | sed -e 's/^ru_//'`
+@@ -374,7 +374,9 @@
+ r=`echo $r | sed -e s'/ _timespec$/ Timespec/'`
+ r=`echo $r | sed -e s'/ _timestruc_t$/ Timestruc/'`
+ field="$f$r"
+- nrusage="$nrusage $field;"
++ if [ -n "$field" ]; then
++ nrusage="$nrusage $field;"
++ fi
+ done
+ echo "type Rusage struct {$nrusage }" >> ${OUT}
+ fi



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (15e6a75bb972d84506491257ba2b17939f3c5452), Vlad Glagolev, 02/07/2013

Archive powered by MHonArc 2.6.24.

Top of Page