diff -r 71503088f51b -r f880f219c566 openpkg/pcre.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openpkg/pcre.patch Tue Jul 31 12:23:42 2012 +0200 @@ -0,0 +1,42 @@ +Index: configure +--- configure.orig 2011-12-11 17:22:11.000000000 +0100 ++++ configure 2011-12-24 11:54:19.000000000 +0100 +@@ -3596,10 +3596,6 @@ + $as_echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error 77 "C compiler cannot create executables +-See \`config.log' for more details" "$LINENO" 5; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } +@@ -4729,10 +4725,7 @@ + if $ac_preproc_ok; then : + + else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details" "$LINENO" 5; } ++ : + fi + + ac_ext=c +Index: pcreposix.h +--- pcreposix.h.orig 2010-05-16 18:17:23.000000000 +0200 ++++ pcreposix.h 2011-12-24 11:54:19.000000000 +0100 +@@ -133,6 +133,12 @@ + + /* The functions */ + ++/* link-time symbol namespace conflict prevention */ ++#define regcomp pcreposix_regcomp ++#define regexec pcreposix_regexec ++#define regerror pcreposix_regerror ++#define regfree pcreposix_regfree ++ + PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int); + PCREPOSIX_EXP_DECL int regexec(const regex_t *, const char *, size_t, + regmatch_t *, int);