pkgsrc/devel/pcre/patches/patch-ab

24 lines
837 B
Text
Raw Normal View History

$NetBSD: patch-ab,v 1.5 2008/05/27 16:20:52 tnn Exp $
--- configure.orig 2008-05-07 18:22:58.000000000 +0200
+++ configure
@@ -20901,6 +20901,8 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+# XXX pkgsrc
+if false; then
# Older versions of pcre defined pcrecpp::no_arg, but in new versions
# it's called pcrecpp::RE::no_arg. For backwards ABI compatibility,
@@ -20968,6 +20970,9 @@ rm -f core conftest.err conftest.$ac_obj
done
LDFLAGS="$OLD_LDFLAGS"
+# XXX pkgsrc
+fi
+
# We could be more clever here, given we're doing AC_SUBST with this
# (eg set a var to be the name of the include file we want). But we're not
# so it's easy to change back to 'regular' autoconf vars if we needed to.