[Lunar-commits] <moonbase> glibc: version bumped to 2.12.1.

Florin Braescu florin at lunar-linux.org
Sat Sep 18 15:01:31 CEST 2010


commit 722e665f2cacd54cdca8c8854edb0a228702d879
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sat Sep 18 16:01:31 2010 +0300

    glibc: version bumped to 2.12.1.
---
 libs/glibc/BUILD        |    5 +++++
 libs/glibc/BUILD.x86_64 |    3 +++
 libs/glibc/CONFIGURE    |    2 +-
 libs/glibc/DETAILS      |   11 +++++++----
 4 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/libs/glibc/BUILD b/libs/glibc/BUILD
index 9e7f5c8..241d070 100644
--- a/libs/glibc/BUILD
+++ b/libs/glibc/BUILD
@@ -1,9 +1,13 @@
 (
+  # The fortify compiler option cause the build to fail
+  bad_flags -D_FORTIFY_SOURCE=2 &&
 
 # This sedit takes care of Bug Report 398 submitted by Striker.
   sedit "s:/tmp:$SOURCE_DIRECTORY/tmp:g" scripts/test-installation.pl &&
   mkdir -p $SOURCE_DIRECTORY/tmp &&
 
+  export CC_OPTS=( Pipe ) &&
+
   # There is no other option but nptl
   OPTS+=" --enable-add-ons=nptl,libidn --with-__thread --with-tls" &&
 
@@ -22,6 +26,7 @@
   patch_it $SOURCE2 1 &&
   patch_it $SOURCE3 1 &&
   patch_it $SOURCE4 1 &&
+  patch_it $SOURCE5 1 &&
 
   INSTALL_ROOT=$SOURCE_DIRECTORY/glibcroot &&
   mkdir -p $INSTALL_ROOT &&
diff --git a/libs/glibc/BUILD.x86_64 b/libs/glibc/BUILD.x86_64
index 772ba5f..9eb800d 100644
--- a/libs/glibc/BUILD.x86_64
+++ b/libs/glibc/BUILD.x86_64
@@ -1,4 +1,6 @@
 (
+  # The fortify compiler option cause the build to fail
+  bad_flags -D_FORTIFY_SOURCE=2 &&
 
 # This sedit takes care of Bug Report 398 submitted by Striker.
   sedit "s:/tmp:$SOURCE_DIRECTORY/tmp:g" scripts/test-installation.pl &&
@@ -22,6 +24,7 @@
   patch_it $SOURCE2 1 &&
   patch_it $SOURCE3 1 &&
   patch_it $SOURCE4 1 &&
+  patch_it $SOURCE5 1 &&
 
   INSTALL_ROOT=$SOURCE_DIRECTORY/glibcroot &&
   mkdir -p $INSTALL_ROOT &&
diff --git a/libs/glibc/CONFIGURE b/libs/glibc/CONFIGURE
index 4b8a579..f871d4c 100644
--- a/libs/glibc/CONFIGURE
+++ b/libs/glibc/CONFIGURE
@@ -72,7 +72,7 @@ if ! grep -q CONFIGURED $MODULE_CONFIG; then
     message "Selecting locales is optional"
   fi
 
-  if query "Would you like to select locales? (if not selected, all locales will be installed)" n; then
+  if query "Would you like to select locales? (if not selected, all locales will be installed)" y; then
     unpack_localedata
 
     GLIBC_LOCALES=`select_locales`
diff --git a/libs/glibc/DETAILS b/libs/glibc/DETAILS
index 46bec13..a785e77 100644
--- a/libs/glibc/DETAILS
+++ b/libs/glibc/DETAILS
@@ -1,24 +1,27 @@
           MODULE=glibc
-         VERSION=2.11.2
+         VERSION=2.12.1
           SOURCE=$MODULE-$VERSION.tar.bz2
          SOURCE2=$MODULE-2.11-no_timezones.patch.bz2
          SOURCE3=$MODULE-2.11.1-__i686.patch.bz2
          SOURCE4=$MODULE-2.11.2-makefile_fix-1.patch
+         SOURCE5=$MODULE-$VERSION-stat.patch
    SOURCE_URL[0]=$GNU_URL/$MODULE
    SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE
    SOURCE_URL[2]=http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/glibc
      SOURCE2_URL=$PATCH_URL
      SOURCE3_URL=$PATCH_URL
      SOURCE4_URL=$PATCH_URL
-      SOURCE_VFY=sha1:23b477f4816a97e007be1e98abc1ffe2af13ba9e
+     SOURCE5_URL=$PATCH_URL
+      SOURCE_VFY=sha1:ef5ca1e765719d3290bd24f94705f27534f3744b
      SOURCE2_VFY=sha1:fc5bf75815daeeef52f7558f27992e02c2cdc87d
      SOURCE3_VFY=sha1:e3f36e2bb17e51e31035f2cd405d099c624d0e9e
      SOURCE4_VFY=sha1:13c31ed2b2a24940ed181b44d8cbc6338d72316d
+     SOURCE5_VFY=sha1:d9b1a9e7ce087690b5076a9ee1f4e57032a39c0d
         WEB_SITE=http://www.gnu.org/software/libc
          ENTERED=20010922
-         UPDATED=20100520
+         UPDATED=20100918
            SHORT="C library for use with GNU/Hurd and GNU/Linux"
-PSAFE=no
+           PSAFE=no
 
 cat << EOF
 glibc - Library for use with GNU/Hurd and GNU/Linux.


More information about the Lunar-commits mailing list