[BACK]Return to patch-autogen.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / jbig2dec / patches

File: [cvs.NetBSD.org] / pkgsrc / graphics / jbig2dec / patches / Attic / patch-autogen.sh (download)

Revision 1.1, Tue Dec 10 10:36:00 2019 UTC (3 years, 3 months ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4

jbig2dec: Update to 0.17

pkgsrc changes:
 - Update HOMEPAGE

Changes:
Version 0.17 (2019 October 1)
 * Updated documentation with accurate contact information.
 * Moved version number to jbig2.h, and adapted configure
   correspondingly. Added pkg-config file to be installed
   along side library. Added run-time check of version
   number so that the correct header is used with the matching
   binary library.
 * Bug fixes.

$NetBSD: patch-autogen.sh,v 1.1 2019/12/10 10:36:00 leot Exp $

`+' is an ordinary character in obsolete ('basic') regular expression,
rewrite it to use `*'.

--- autogen.sh.orig	2019-10-02 12:52:19.000000000 +0000
+++ autogen.sh
@@ -22,7 +22,7 @@ VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][
 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