From b6125bbb73c1a50526efb4ebcd084a4c91a8bc93 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 13 Jan 2019 20:07:50 +0000 Subject: [PATCH] Remove unsupported regular expression Differential Revision: https://reviews.freebsd.org/D18332 PR: 233421 Reported by: kevans --- databases/xapian-core10/files/patch-configure | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/xapian-core10/files/patch-configure diff --git a/databases/xapian-core10/files/patch-configure b/databases/xapian-core10/files/patch-configure new file mode 100644 index 000000000000..650fd3ede0c2 --- /dev/null +++ b/databases/xapian-core10/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2011-01-14 04:41:05 UTC ++++ configure +@@ -22153,7 +22153,7 @@ if test yes = "$GXX" ; then + done + fi + rm -f include/xapian/version.h.tmp +-$CXXCPP $cxxcpp_flags -DSTRING_VERSION="\"@@$MAIN_VERSION@@\"" -DMAJOR_VERSION="\"$MAJOR_VERSION\"" -DMINOR_VERSION="\"$MINOR_VERSION\"" -DREVISION="\"$REVISION\"" $srcdir/include/xapian/version_h.cc|${SED-sed} '/"/!d;s/^ *//;/^#/d;s/ *$//;s/" *,//;s/"//g;s/@@/"/g;s/ */ /g;s/ *,\r$//;s/ *,$//' > include/xapian/version.h.tmp ++$CXXCPP $cxxcpp_flags -DSTRING_VERSION="\"@@$MAIN_VERSION@@\"" -DMAJOR_VERSION="\"$MAJOR_VERSION\"" -DMINOR_VERSION="\"$MINOR_VERSION\"" -DREVISION="\"$REVISION\"" $srcdir/include/xapian/version_h.cc|${SED-sed} '/"/!d;s/^ *//;/^#/d;s/ *$//;s/" *,//;s/"//g;s/@@/"/g;s/ */ /g;s/ *,$//' > include/xapian/version.h.tmp + touch include/xapian/version.h.timestamp + if cmp include/xapian/version.h.tmp include/xapian/version.h >/dev/null 2>&1 + then