Package: pike7.8 / 7.8.866-3

pcre_info_obsolete.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Stop using the long-obsolete pcre_info(),
 which was just recently removed from the headers but
 remains in the library.

--- a/src/modules/_Regexp_PCRE/configure
+++ b/src/modules/_Regexp_PCRE/configure
@@ -3504,7 +3504,7 @@ EOF
 
 
 
-for ac_func in pcre_info pcre_fullinfo pcre_get_stringnumber
+for ac_func in pcre_fullinfo pcre_get_stringnumber
 do
 
 echo "$as_me:$LINENO: checking for $ac_func" >&5
--- a/src/modules/_Regexp_PCRE/configure.in
+++ b/src/modules/_Regexp_PCRE/configure.in
@@ -18,7 +18,7 @@ if test x$with_libpcre = xyes ; then
       LIBS="${LIBS-} -lpcre"
       PIKE_FEATURE(Regexp.PCRE,[yes (libpcre)])
 
-      AC_CHECK_FUNCS(pcre_info pcre_fullinfo pcre_get_stringnumber)
+      AC_CHECK_FUNCS(pcre_fullinfo pcre_get_stringnumber)
     ])
   fi
 fi