Browse Source

quick and dirty rename of reg(comp|error|exec|free) symbols to avoid accidental provision of embedded antique POSIX regex library. Petidomo was a victim as it expects working [:alnum:] and [:space:] constructs which do not work with the fsl regex but do with OS regex

Thomas Lotterer 21 years ago
parent
commit
c8faf1bf3b
1 changed files with 6 additions and 2 deletions
  1. 6 2
      fsl/fsl.spec

+ 6 - 2
fsl/fsl.spec

@@ -34,7 +34,7 @@ Class:        CORE
 Group:        System
 License:      MIT-style
 Version:      1.4.0
-Release:      20040207
+Release:      20040310
 
 #   package options
 %option       with_fsl_debuglogcode   no
@@ -73,7 +73,11 @@ AutoReqProv:  no
     %setup -q
     %{l_shtool} subst -e 's;^\(all: .*\) pcre_test *$;\1;' lib_pcre/Makefile.in
     %{l_shtool} subst \
-        -e 's;pcre;fsl_pcre;g' \
+        -e 's;\(pcre\);fsl_\1;g' \
+        -e 's;\(regcomp\);fsl_\1;g' \
+        -e 's;\(regerror\);fsl_\1;g' \
+        -e 's;\(regexec\);fsl_\1;g' \
+        -e 's;\(regfree\);fsl_\1;g' \
         -e '/#include/s;fsl_pcre;pcre;g' \
         *.[ch] \
         lib_pcre/*.[ch]