SOURCES: glib2-asneeded.patch (NEW) - fix pcre_config test wrt -as...

qboosh qboosh at pld-linux.org
Wed Oct 24 20:48:13 CEST 2007


Author: qboosh                       Date: Wed Oct 24 18:48:13 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix pcre_config test wrt -as-needed

---- Files affected:
SOURCES:
   glib2-asneeded.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/glib2-asneeded.patch
diff -u /dev/null SOURCES/glib2-asneeded.patch:1.1
--- /dev/null	Wed Oct 24 20:48:13 2007
+++ SOURCES/glib2-asneeded.patch	Wed Oct 24 20:48:08 2007
@@ -0,0 +1,22 @@
+--- glib-2.14.2/configure.in.orig	2007-10-16 07:44:52.000000000 +0200
++++ glib-2.14.2/configure.in	2007-10-24 17:59:45.448866287 +0200
+@@ -2198,8 +2198,8 @@
+                       libpcre >= $PCRE_REQUIRED_VERSION)
+     AC_CACHE_CHECK([for Unicode support in PCRE],glib_cv_pcre_has_unicode,[
+                    glib_save_CFLAGS="$CFLAGS"
+-                   glib_save_LDFLAGS="$LDFLAGS"
+-                   CFLAGS="$CFLAGS $PCRE_CFLAGS" LDFLAGS="$LDFLAGS $PCRE_LIBS"
++                   glib_save_LIBS="$LIBS"
++                   CFLAGS="$CFLAGS $PCRE_CFLAGS" LIBS="$LIBS $PCRE_LIBS"
+                    AC_TRY_RUN([#include <pcre.h>
+                                int main () {
+                                  int support;
+@@ -2215,7 +2215,7 @@
+                    glib_cv_pcre_has_unicode=no,
+                    glib_cv_pcre_has_unicode=yes)
+                    CFLAGS="$glib_save_CFLAGS"
+-                   LDFLAGS="$glib_save_LDFLAGS"
++                   LIBS="$glib_save_LIBS"
+ 	])
+     if test "$glib_cv_pcre_has_unicode" = "no"; then
+       AC_MSG_ERROR([*** The system-supplied PCRE does not support Unicode properties or UTF-8.])
================================================================


More information about the pld-cvs-commit mailing list