SOURCES: pcre-pcreposix-glibc-conflict.patch (NEW) - prefix pcrepo...

arekm arekm at pld-linux.org
Thu Nov 1 16:40:03 CET 2007


Author: arekm                        Date: Thu Nov  1 15:40:03 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- prefix pcreposix glibc-conflicting function with pcreposix prefix (changes ABI for pcreposix library)

---- Files affected:
SOURCES:
   pcre-pcreposix-glibc-conflict.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pcre-pcreposix-glibc-conflict.patch
diff -u /dev/null SOURCES/pcre-pcreposix-glibc-conflict.patch:1.1
--- /dev/null	Thu Nov  1 16:40:03 2007
+++ SOURCES/pcre-pcreposix-glibc-conflict.patch	Thu Nov  1 16:39:58 2007
@@ -0,0 +1,26 @@
+--- pcre/pcreposix.h
++++ pcre/pcreposix.h
+@@ -129,14 +129,19 @@ file. */
+ 
+ /* The functions */
+ 
+-PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int);
+-PCREPOSIX_EXP_DECL int regexec(const regex_t *, const char *, size_t,
++PCREPOSIX_EXP_DECL int pcreposix_regcomp(regex_t *, const char *, int);
++PCREPOSIX_EXP_DECL int pcreposix_regexec(const regex_t *, const char *, size_t,
+                      regmatch_t *, int);
+-PCREPOSIX_EXP_DECL size_t regerror(int, const regex_t *, char *, size_t);
+-PCREPOSIX_EXP_DECL void regfree(regex_t *);
++PCREPOSIX_EXP_DECL size_t pcreposix_regerror(int, const regex_t *, char *, size_t);
++PCREPOSIX_EXP_DECL void pcreposix_regfree(regex_t *);
+ 
+ #ifdef __cplusplus
+ }   /* extern "C" */
+ #endif
+ 
++#define regcomp pcreposix_regcomp
++#define regexec pcreposix_regexec
++#define regerror pcreposix_regerror
++#define regfree pcreposix_regfree
++
+ #endif /* End of pcreposix.h */
================================================================


More information about the pld-cvs-commit mailing list