Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a49520ea33b0e038590603565f03c86b32cb515f

commit a49520ea33b0e038590603565f03c86b32cb515f
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Apr 22 00:32:15 2010 +0200

glibc-2.11.1-1-i686

- add gcc45.patch

diff --git a/source/base/glibc/FrugalBuild b/source/base/glibc/FrugalBuild
index 12b815c..cbc02cd 100644
--- a/source/base/glibc/FrugalBuild
+++ b/source/base/glibc/FrugalBuild
@@ -16,9 +16,10 @@ groups=('base' 'chroot-core')
archs=('i686' 'x86_64' 'ppc')
Fup2gnubz2
source=(http://ftp.gnu.org/pub/gnu/glibc/glibc-$pkgver.tar.bz2 \
-       fix-missing-etc-hosts.patch)
+       fix-missing-etc-hosts.patch gcc45.patch)
sha1sums=('29f492ae56fd4ef79f32b45c29c0edb6aa8a35a7' \
-          'be4a7bea8af743331e2c6704faa24b6cb4e155d5')
+          'be4a7bea8af743331e2c6704faa24b6cb4e155d5' \
+          '2283966c4f48bbc9b6ad0ae3bbd64601c057c721')

build()
{
diff --git a/source/base/glibc/gcc45.patch b/source/base/glibc/gcc45.patch
new file mode 100644
index 0000000..28d5dd4
--- /dev/null
+++ b/source/base/glibc/gcc45.patch
@@ -0,0 +1,13 @@
+diff -Naur glibc-old//sysdeps/i386/Makefile glibc//sysdeps/i386/Makefile
+--- glibc-old//sysdeps/i386/Makefile   2010-03-18 11:52:30.000000000 +1000
++++ glibc//sysdeps/i386/Makefile       2010-04-16 15:05:50.000000000 +1000
+@@ -1,6 +1,7 @@
+ # The mpn functions need a #define for asm syntax flavor.
+-# Every i386 port in use uses gas syntax (I think).
+-asm-CPPFLAGS += -DGAS_SYNTAX
++# Every i386 port in use uses gas syntax (I think).  Don't replace
++# __i686 in __i686.get_pc_thunk.bx.
++asm-CPPFLAGS += -DGAS_SYNTAX  -U __i686
+
+ # The i386 `long double' is a distinct type we support.
+ long-double-fcts = yes
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to