toolchain modoifications
[hdw-linux/hdw-linux.git] / packages / base / glibc / glibc
index c47473c..95617f0 100644 (file)
@@ -2,10 +2,10 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 2.3.5
+# [V] 2.3.6
 # [S] 2-3
-# [D] glibc-2.3.5.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/
-# [D] glibc-linuxthreads-2.3.5.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/
+# [D] glibc-2.3.6.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/
+# [D] glibc-linuxthreads-2.3.6.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/
 
 kernver=`grep '^#\ \[V\]' $confdir/../linux/linux | awk '{ print $3 }'`
 kernver=`echo $kernver | awk -F. '{ print $1 "." $2 }'`
@@ -22,6 +22,15 @@ pre_install()        {
        [ ! -f $root/etc/ld.so.conf ] && touch $root/etc/ld.so.conf
        [ ! -c $root/dev/null ] && mknod -m 0666 $root/dev/null c 1 3
        echo "done (file creating)"
+
+       echo "patching ..."
+       sed 's/vi_VN.TCVN/d' localedata/SUPPORTED > tmp~
+       mv tmp~ localedata/SUPPORTED
+       echo "patching install test (warning, might not work for every arch)"
+       sed -e \
+        's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
+        scripts/test-installation.pl > tmp~
+       mv tmp~ scripts/test-installation.pl
                }
 
 build_main()   {