fix bootstrapping #73583
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Jan 2005 03:42:07 +0000 (03:42 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 12 Jan 2005 03:42:07 +0000 (03:42 +0000)
sys-libs/uclibc/Manifest
sys-libs/uclibc/files/0.9.26-r8-cvs.patch [new file with mode: 0644]
sys-libs/uclibc/uclibc-0.9.26-r8.ebuild

index 7f80287e6049a53be425700485c7b064be11e929..21ea513e40337cce44fb9a55455c414c69e370ed 100644 (file)
@@ -3,13 +3,14 @@ Hash: SHA1
 
 MD5 a592172d210be32e6b23bb873a87c4e6 ChangeLog 8164
 MD5 e96b4dfc373a1cdf7735aeae52c4cf7e metadata.xml 999
-MD5 df615cdf63852f4f6fa1c9f9c2bf0f7f uclibc-0.9.26-r8.ebuild 9415
+MD5 d095a6b2da21d6c48ff51ad967fc3d83 uclibc-0.9.26-r8.ebuild 9460
+MD5 6fb9166cb9a919ce76e4ebd58f74fec5 files/0.9.26-r8-cvs.patch 1184
 MD5 0b733285f186f31c1be9ffcc42f1064e files/getent 973
 MD5 e0556dd58957468793213ab327c590d3 files/digest-uclibc-0.9.26-r8 232
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.14 (GNU/Linux)
 
-iD8DBQFB5HSIroRuSHgZdywRAru9AJ9j725uhZg5MteWzUeQDAURpPoBhgCaA+F1
-am5Sg7UfDfkLIKT9dqXVGA8=
-=L47o
+iD8DBQFB5JyqroRuSHgZdywRAlKSAJ0d+EciEbUIAIMwrej/juQh+zbG/wCfSD7u
++s0R3L8PNEXGfqq88aujyWQ=
+=wNN4
 -----END PGP SIGNATURE-----
diff --git a/sys-libs/uclibc/files/0.9.26-r8-cvs.patch b/sys-libs/uclibc/files/0.9.26-r8-cvs.patch
new file mode 100644 (file)
index 0000000..9ef2375
--- /dev/null
@@ -0,0 +1,40 @@
+Fix building with linux26-headers.
+
+http://bugs.gentoo.org/show_bug.cgi?id=73583
+
+Index: include/features.h
+===================================================================
+RCS file: /var/cvs/uClibc/include/features.h,v
+retrieving revision 1.60
+retrieving revision 1.61
+diff -u -r1.60 -r1.61
+--- include/features.h 27 Oct 2004 07:26:21 -0000      1.60
++++ include/features.h 11 Jan 2005 17:02:22 -0000      1.61
+@@ -417,6 +417,9 @@
+ #ifndef __LINUX_COMPILER_H
+ #define __LINUX_COMPILER_H
+ #endif
++#ifndef __cast__
++#define __cast__(_to)
++#endif
+ 
+ /* Arrange to hide uClibc internals */
+ #if __GNUC_PREREQ (3, 3)
+Index: libc/sysdeps/linux/common/ssp.c
+===================================================================
+RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/ssp.c,v
+retrieving revision 1.5
+retrieving revision 1.6
+diff -u -r1.5 -r1.6
+--- libc/sysdeps/linux/common/ssp.c    25 Nov 2004 19:10:39 -0000      1.5
++++ libc/sysdeps/linux/common/ssp.c    11 Jan 2005 17:01:53 -0000      1.6
+@@ -29,7 +29,9 @@
+ #include <sys/un.h>
+ #include <sys/syslog.h>
+ #include <sys/time.h>
++#ifdef HAVE_DEV_ERANDOM
+ #include <sys/sysctl.h>
++#endif
+ 
+ #ifdef __PROPOLICE_BLOCK_SEGV__
+ #define SSP_SIGTYPE SIGSEGV
index 61017c88c57ca2f9c2b2fcc32b2b4e3cfc115bcb..acf5203e6d52b97776e2e473bcd49557299adfad 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.26-r8.ebuild,v 1.1 2005/01/12 00:50:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.26-r8.ebuild,v 1.2 2005/01/12 03:42:07 vapier Exp $
 
 inherit eutils flag-o-matic toolchain-funcs
 
@@ -104,6 +104,8 @@ src_unpack() {
                use build || epatch ${WORKDIR}/patch/math
        fi
 
+       epatch ${FILESDIR}/${PVR}-cvs.patch #73583
+
        ########## CPU SELECTION ##########
 
        local target config_target