patches/glibc/ports-2.10.1/380-dont-build-timezone.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 05 20:31:43 2012 +0100 (2012-12-05)
changeset 3134 863723936e24
permissions -rw-r--r--
scripts/xldd: use user's sed and grep

xldd uses sed and grep as detected by ./configure. This works well if is
used on the machine that build the toolchain.

But if the user moves the toolchain to another machine where sed and grep
are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd
will stop functionning.

Fix that by using ${SED} and ${GREP} if they are set in the environment.

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@1625
     1
timezone data has been split into the package sys-libs/timezone-data
yann@1625
     2
yann@1625
     3
diff -durN glibc-2.10.1.orig/Makeconfig glibc-2.10.1/Makeconfig
yann@1625
     4
--- glibc-2.10.1.orig/Makeconfig	2009-11-13 00:50:13.000000000 +0100
yann@1625
     5
+++ glibc-2.10.1/Makeconfig	2009-11-13 00:50:41.000000000 +0100
yann@1625
     6
@@ -919,7 +919,7 @@
yann@1625
     7
 	      stdlib stdio-common libio malloc string wcsmbs time dirent    \
yann@1625
     8
 	      grp pwd posix io termios resource misc socket sysvipc gmon    \
yann@1625
     9
 	      gnulib iconv iconvdata wctype manual shadow gshadow po argp   \
yann@1625
    10
-	      crypt nss localedata timezone rt conform debug		    \
yann@1625
    11
+	      crypt nss localedata rt conform debug		    \
yann@1625
    12
 	      $(add-on-subdirs) $(dlfcn) $(binfmt-subdir)
yann@1625
    13
 
yann@1625
    14
 ifndef avoid-generated