--- smage/trunk/core/eglibc/eglibc-2.12.0_20101019-r1.smage2 2010/10/19 17:50:30 630 +++ smage/trunk/core/eglibc/eglibc-2.12.0_20101019-r1.smage2 2010/10/19 19:10:06 631 @@ -31,6 +31,9 @@ mirror://${PNAME}/eglibc.envd mirror://${PNAME}/locale-gen mirror://${PNAME}/locale.gen + mirror://glibc/glibc-${PVER}-bz4781.patch + mirror://glibc/glibc-${PVER}-i686.patch + mirror://glibc/glibc-${PVER}-static-shared-getpagesize.patch ) # glibc don't like strong CFLAGS @@ -263,6 +266,17 @@ # disable binutils -as-needed sed -i 's/^have-as-needed.*/have-as-needed = no/' ${SRCDIR}/config.make.in || die + # http://sources.redhat.com/bugzilla/show_bug.cgi?id=4781 + mpatch glibc-${PVER}-bz4781.patch || die + + # http://sources.redhat.com/bugzilla/show_bug.cgi?id=411 + # http://sourceware.org/ml/libc-alpha/2009-07/msg00072.html + mpatch glibc-${PVER}-i686.patch || die + + # fixes static link issues + # http://bugs.gentoo.org/332927 + mpatch glibc-${PVER}-static-shared-getpagesize.patch || die + # fix permissions on some of the scripts chmod u+x ${SRCDIR}/scripts/*.sh || die