Magellan Linux

Diff of /smage/trunk/core/eglibc/eglibc-2.12.2_20110125-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1067 by niro, Tue Jan 25 18:28:17 2011 UTC revision 1071 by niro, Tue Jan 25 19:09:07 2011 UTC
# Line 35  SRC_URI=( Line 35  SRC_URI=(
35   mirror://glibc/glibc-2.12.1-i686.patch   mirror://glibc/glibc-2.12.1-i686.patch
36   mirror://glibc/glibc-2.12.1-static-shared-getpagesize.patch   mirror://glibc/glibc-2.12.1-static-shared-getpagesize.patch
37   mirror://glibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch   mirror://glibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch
38     mirror://glibc/glibc-2.12.2-binutils-2.21.patch
39  )  )
40    
41  # glibc don't like strong CFLAGS  # glibc don't like strong CFLAGS
# Line 70  export CXXFLAGS="${CFLAGS}" Line 71  export CXXFLAGS="${CFLAGS}"
71  [[ -z ${ALT_HEADERS} ]] && export ALT_HEADERS="/usr/include"  [[ -z ${ALT_HEADERS} ]] && export ALT_HEADERS="/usr/include"
72    
73  # kernel support  # kernel support
74  export ENABLE_KERNEL=2.6.18  export ENABLE_KERNEL=2.6.27
75    
76  SPLIT_PACKAGES="eglibc eglibc-dev"  SPLIT_PACKAGES="eglibc eglibc-dev"
77    
# Line 282  src_prepare() Line 283  src_prepare()
283   # see: http://www.exploit-db.com/exploits/15274/   # see: http://www.exploit-db.com/exploits/15274/
284   mpatch glibc-2.12.2-ignore-origin-of-privileged-program.patch || die   mpatch glibc-2.12.2-ignore-origin-of-privileged-program.patch || die
285    
286     # http://sourceware.org/bugzilla/show_bug.cgi?id=12403
287     if [[ ${ARCH} = x86_64 ]]
288     then
289     sed -i '/__ASSUME_PRIVATE_FUTEX/d' glibc/sysdeps/unix/sysv/linux/kernel-features.h || die
290     fi
291    
292     # fixes build with newer binutil (>= 2.21)
293     # see: http://sourceware.org/bugzilla/show_bug.cgi?id=12343
294     mpatch glibc-2.12.2-binutils-2.21.patch || die
295    
296     # binutils patch needs reconf
297     autoconf --force || die
298    
299   # fix permissions on some of the scripts   # fix permissions on some of the scripts
300   chmod u+x ${SRCDIR}/scripts/*.sh || die   chmod u+x ${SRCDIR}/scripts/*.sh || die
301    

Legend:
Removed from v.1067  
changed lines
  Added in v.1071