[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-2019-g044848a

[email protected] (Chris Liddell) Tue, 10 Dec 2019 15:41:55 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, master has been updated
       via  044848a1752273471e9deab826045eca82030d62 (commit)
      from  35828fce7ad795c546831520b7a57ef233453b43 (commit)

----------------------------------------------------------------------
commit 044848a1752273471e9deab826045eca82030d62
Author: Chris Liddell <[email protected]>
Date:   Tue Dec 10 15:37:35 2019 +0000

    Reinstate basic regular expression compatibility
    
    In Basic Regular Expressions `+' is an ordinary character, use `*' instead.
    
    This also maintains consistency with the equivalent code a few lines above in
    the file.

diff --git a/jbig2dec/autogen.sh b/jbig2dec/autogen.sh
index 1dbe143..41a5d97 100755
--- a/jbig2dec/autogen.sh
+++ b/jbig2dec/autogen.sh
@@ -22,7 +22,7 @@ VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/"
 VERSIONMKMAJ="sed -e s/\([0-9][0-9]*\)[^0-9].*/\\1/"
 VERSIONMKMIN="sed -e s/.*[0-9][0-9]*\.//"
 
-JBIG2VERSIONGREP="sed -e s/^.*(\([0-9]\+\)).*/\\1/"
+JBIG2VERSIONGREP="sed -e s/^.*(\([0-9][0-9]*\)).*/\\1/"
 JBIG2MAJOR=$(grep 'define JBIG2_VERSION_MAJOR' jbig2.h | $JBIG2VERSIONGREP)
 JBIG2MINOR=$(grep 'define JBIG2_VERSION_MINOR' jbig2.h | $JBIG2VERSIONGREP)
 sed -e "s/^\(AC_INIT[^,]*,\)[^,]*\(,.*\)$/\1 [$JBIG2MAJOR.$JBIG2MINOR]\2/" configure.ac.in > configure.ac


Summary of changes:
 jbig2dec/autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)