43 |
mirror://glibc/glibc-2.12.1-bz4781.patch |
mirror://glibc/glibc-2.12.1-bz4781.patch |
44 |
mirror://glibc/glibc-2.12.1-i686.patch |
mirror://glibc/glibc-2.12.1-i686.patch |
45 |
mirror://glibc/glibc-2.12.1-static-shared-getpagesize.patch |
mirror://glibc/glibc-2.12.1-static-shared-getpagesize.patch |
|
mirror://glibc/glibc-2.12.1-make382.patch |
|
46 |
mirror://glibc/glibc-2.12.1-but-I-am-an-i686.patch |
mirror://glibc/glibc-2.12.1-but-I-am-an-i686.patch |
47 |
|
mirror://glibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch |
48 |
) |
) |
49 |
|
|
50 |
# sed line: on 2 digits add an zero: 2.7 -> 2.7.0 |
# sed line: on 2 digits add an zero: 2.7 -> 2.7.0 |
84 |
[[ -z ${ALT_HEADERS} ]] && export ALT_HEADERS="/usr/include" |
[[ -z ${ALT_HEADERS} ]] && export ALT_HEADERS="/usr/include" |
85 |
|
|
86 |
# kernel support |
# kernel support |
87 |
export ENABLE_KERNEL=2.6.18 |
export ENABLE_KERNEL=2.6.27 |
88 |
|
|
89 |
src_prepare() |
src_prepare() |
90 |
{ |
{ |
108 |
# http://bugs.gentoo.org/332927 |
# http://bugs.gentoo.org/332927 |
109 |
mpatch glibc-2.12.1-static-shared-getpagesize.patch || die |
mpatch glibc-2.12.1-static-shared-getpagesize.patch || die |
110 |
|
|
|
# make-3.82 compat |
|
|
mpatch glibc-2.12.1-make382.patch || die |
|
|
|
|
111 |
# fix for excess linker optimization on i686, maybe fixed with binutils-2.21 |
# fix for excess linker optimization on i686, maybe fixed with binutils-2.21 |
112 |
mpatch glibc-2.12.1-but-I-am-an-i686.patch || die |
mpatch glibc-2.12.1-but-I-am-an-i686.patch || die |
113 |
|
|
114 |
|
# security fix, fixes CVE-2010-3847 |
115 |
|
# see: http://www.exploit-db.com/exploits/15274/ |
116 |
|
mpatch glibc-2.12.2-ignore-origin-of-privileged-program.patch || die |
117 |
|
|
118 |
# fix permissions on some of the scripts |
# fix permissions on some of the scripts |
119 |
chmod u+x ${SRCDIR}/scripts/*.sh || die |
chmod u+x ${SRCDIR}/scripts/*.sh || die |
120 |
|
|