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)
     1 timezone data has been split into the package sys-libs/timezone-data
     2 
     3 diff -durN glibc-2.10.1.orig/Makeconfig glibc-2.10.1/Makeconfig
     4 --- glibc-2.10.1.orig/Makeconfig	2009-11-13 00:50:13.000000000 +0100
     5 +++ glibc-2.10.1/Makeconfig	2009-11-13 00:50:41.000000000 +0100
     6 @@ -919,7 +919,7 @@
     7  	      stdlib stdio-common libio malloc string wcsmbs time dirent    \
     8  	      grp pwd posix io termios resource misc socket sysvipc gmon    \
     9  	      gnulib iconv iconvdata wctype manual shadow gshadow po argp   \
    10 -	      crypt nss localedata timezone rt conform debug		    \
    11 +	      crypt nss localedata rt conform debug		    \
    12  	      $(add-on-subdirs) $(dlfcn) $(binfmt-subdir)
    13  
    14  ifndef avoid-generated