patches/glibc/ports-2.13/380-dont-build-timezone.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
changeset 2462 139b85d70b62
permissions -rw-r--r--
complibs/ppl: fix 0.11-0.11.2 to compile with --disable-shared

PPL 0.11 (through 0.11.2) had a small bug where it still tried to build
and test its Java interface even when shared libraries are disabled.
Since that's exactly what ct-ng does, it explodes.

This is the patch from the PPL authors (see final link below).

More information can be found in these messages/threads:

Anthony's initial report and analysis with Yann:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html

Ron Flory hit the same problem:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html

Anthony's report to the ppl-devel list:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html

Roberto's reply with a link to the fix in the PPL git repo:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html

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