components/pcre/patches/03-test-driver.patch
author April Chin <april.chin@oracle.com>
Thu, 25 Jun 2015 13:02:22 -0700
changeset 4549 cef88d7826a6
permissions -rw-r--r--
21290075 update pcre to version 8.37 20069753 problem in LIBRARY/PCRE 21093256 problem in LIBRARY/PCRE 21179786 problem in LIBRARY/PCRE 21195811 problem in LIBRARY/PCRE 20460964 PCRE should have some master test results to compare against 15417417 SUNBT6594265 man page for pcregrep is missing "Last change:" date

Comment out the set -u (nounset) shell option in test-driver,
which errors out when encountering unset variables.
During "gmake test" the pcregrep binary is never called because it
causes a problem in the pcregrep libtool wrapper for
an unset variable $libtool_install_magic.
Problem is not seen when running "gmake check" directly from
command line.  Solaris-specific patch not appropriate for upstream.

--- pcre-8.37-orig/test-driver	2015-04-28 04:17:22.000000000 -0700
+++ pcre-8.37/test-driver	2015-06-19 11:43:59.905679371 -0700
@@ -29,7 +29,7 @@ scriptversion=2013-07-13.22; # UTC
 
 # Make unconditional expansion of undefined variables an error.  This
 # helps a lot in preventing typo-related bugs.
-set -u
+# set -u
 
 usage_error ()
 {