add ctype compat patch
authorMartin Schlemmer <azarah@gentoo.org>
Sat, 26 Oct 2002 00:53:09 +0000 (00:53 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Sat, 26 Oct 2002 00:53:09 +0000 (00:53 +0000)
sys-libs/glibc/ChangeLog
sys-libs/glibc/files/2.3.1/glibc-2.3.1-ctype-compat.patch [new file with mode: 0644]
sys-libs/glibc/files/digest-glibc-2.3.1-r1 [moved from sys-libs/glibc/files/digest-glibc-2.3.1 with 100% similarity]
sys-libs/glibc/glibc-2.3.1-r1.ebuild [moved from sys-libs/glibc/glibc-2.3.1.ebuild with 91% similarity]

index 71356d94584336c6436c6c131bbdde6d88dce52c..817daaa0638de95023f7eb6d8da2f015e9d4b1e2 100644 (file)
@@ -1,6 +1,17 @@
 # ChangeLog for sys-libs/glibc
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.20 2002/10/13 21:56:33 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.21 2002/10/26 00:53:09 azarah Exp $
+
+*glibc-2.3.1-r1 (26 Oct 2002)
+
+  26 Oct 2002; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.1-r1.ebuild :
+
+  Add the ctype-compat.patch to fix unresolved symbols in old static binaries
+  and libraries.  See bug #8766, #9586 and:
+
+    http://lists.debian.org/debian-glibc/2002/debian-glibc-200210/msg00093.html
+
+  We should think about remoing it in the future after things have settled.
 
 *glibc-2.2.5-r7 (13 Oct 2002)
 
diff --git a/sys-libs/glibc/files/2.3.1/glibc-2.3.1-ctype-compat.patch b/sys-libs/glibc/files/2.3.1/glibc-2.3.1-ctype-compat.patch
new file mode 100644 (file)
index 0000000..8e07aa0
--- /dev/null
@@ -0,0 +1,16 @@
+--- glibc-2.3.1/ctype/ctype-info.c.orig        2002-10-26 02:12:56.000000000 +0200
++++ glibc-2.3.1/ctype/ctype-info.c     2002-10-26 02:14:53.000000000 +0200
+@@ -55,11 +55,13 @@
+ const __uint32_t *__ctype32_tolower = b (__uint32_t, tolower, 128);
+ const __uint32_t *__ctype32_toupper = b (__uint32_t, toupper, 128);
+ 
++#if 0
+ compat_symbol (libc, __ctype_b, __ctype_b, GLIBC_2_0);
+ compat_symbol (libc, __ctype_tolower, __ctype_tolower, GLIBC_2_0);
+ compat_symbol (libc, __ctype_toupper, __ctype_toupper, GLIBC_2_0);
+ compat_symbol (libc, __ctype32_b, __ctype32_b, GLIBC_2_0);
+ compat_symbol (libc, __ctype32_tolower, __ctype32_tolower, GLIBC_2_2);
+ compat_symbol (libc, __ctype32_toupper, __ctype32_toupper, GLIBC_2_2);
++#endif
+ 
+ #endif
similarity index 91%
rename from sys-libs/glibc/glibc-2.3.1.ebuild
rename to sys-libs/glibc/glibc-2.3.1-r1.ebuild
index c3883d473fc123d1aeeeb9305cd42bf1de6524d8..05e764ec3e9e99f248210795b2fb47c04e281292 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.1.ebuild,v 1.3 2002/10/24 23:23:45 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.1-r1.ebuild,v 1.1 2002/10/26 00:53:09 azarah Exp $
 
 IUSE="nls pic build"
 
@@ -79,6 +79,17 @@ src_unpack() {
        # This next patch fixes a test that will timeout due to ReiserFS' slow handling of sparse files
        einfo "Applying test-lfs-timeout patch..."
        cd ${S}/io; patch -p0 < ${FILESDIR}/glibc-2.2.2-test-lfs-timeout.patch > /dev/null || die
+
+       # This add back glibc 2.2 compadibility.  See bug #8766 and #9586 for more info,
+       # and also:
+       #
+       #  http://lists.debian.org/debian-glibc/2002/debian-glibc-200210/msg00093.html
+       #
+       # We should think about remoing it in the future after things have settled.
+       #
+       # <azarah@gentoo.org> (26 Oct 2002).
+       einfo "Applying ctype-compat patch..."
+       cd ${S}; patch -p1 < ${FILESDIR}/${PV}/${P}-ctype-compat.patch > /dev/null || die
 }
 
 src_compile() {