patches/glibc/ports-2.10.1/380-dont-build-timezone.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jul 12 23:52:24 2011 +0200 (2011-07-12)
branch1.11
changeset 2558 b7317d2fe0e9
permissions -rw-r--r--
scripts, cc/gcc: do not fail on existing symlinks or build.log

If the user builds a toolchain over an existing one, so, without removing
CT_PREFIX_DIR, the build fails as the symlinks already exist, as does the
build.log.

This can also happen (for build.log) if the user first ran in download-
or extract-only.

Patch (with no SoB) originally from:
Phil Wilshire <phil.wilshire@overturenetworks.com>

Modified by me as it did not apply cleanly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 1ebc2248cc60230cd53ff94ae8f8f1e3261461a3)
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