git: d699b28bc26c - main - graphics/p5-Barcode-ZBar: Update to 0.10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Apr 2022 00:05:04 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d699b28bc26c6ba9f7b4ff72a978d40a6580bdf1 commit d699b28bc26c6ba9f7b4ff72a978d40a6580bdf1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-17 23:47:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-17 23:58:59 +0000 graphics/p5-Barcode-ZBar: Update to 0.10 Changes: https://metacpan.org/dist/Barcode-ZBar/changes --- graphics/p5-Barcode-ZBar/Makefile | 3 ++- graphics/p5-Barcode-ZBar/distinfo | 5 +++-- graphics/p5-Barcode-ZBar/files/patch-ZBar.xs | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/graphics/p5-Barcode-ZBar/Makefile b/graphics/p5-Barcode-ZBar/Makefile index 7df6c60d9de1..6bf9d1615f7d 100644 --- a/graphics/p5-Barcode-ZBar/Makefile +++ b/graphics/p5-Barcode-ZBar/Makefile @@ -1,5 +1,5 @@ PORTNAME= Barcode-ZBar -PORTVERSION= 0.04 +PORTVERSION= 0.10 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -11,6 +11,7 @@ LIB_DEPENDS= libzbar.so:graphics/zbar USES= perl5 USE_PERL5= configure + CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" pre-install: diff --git a/graphics/p5-Barcode-ZBar/distinfo b/graphics/p5-Barcode-ZBar/distinfo index 309985a9907b..192b929694b1 100644 --- a/graphics/p5-Barcode-ZBar/distinfo +++ b/graphics/p5-Barcode-ZBar/distinfo @@ -1,2 +1,3 @@ -SHA256 (Barcode-ZBar-0.04.tar.gz) = d57e1ad471b6a29fa4134650e6eec9eb834d42cbe8bf8f0608c67d6dd0f8f431 -SIZE (Barcode-ZBar-0.04.tar.gz) = 57582 +TIMESTAMP = 1650229088 +SHA256 (Barcode-ZBar-0.10.tar.gz) = f19c820964df4fa96518ea42d6bfb202fc952ea222c8e82a6034cf06373230c1 +SIZE (Barcode-ZBar-0.10.tar.gz) = 63793 diff --git a/graphics/p5-Barcode-ZBar/files/patch-ZBar.xs b/graphics/p5-Barcode-ZBar/files/patch-ZBar.xs index c523a733376d..fc91149b36b8 100644 --- a/graphics/p5-Barcode-ZBar/files/patch-ZBar.xs +++ b/graphics/p5-Barcode-ZBar/files/patch-ZBar.xs @@ -1,12 +1,12 @@ ---- ZBar.xs.orig +--- ZBar.xs.orig 2022-02-07 23:58:06 UTC +++ ZBar.xs -@@ -198,9 +198,10 @@ +@@ -209,9 +209,10 @@ zbar_version() PREINIT: unsigned major; unsigned minor; + unsigned patch; CODE: -- zbar_version(&major, &minor); +- zbar_version(&major, &minor, NULL); - RETVAL = newSVpvf("%u.%u", major, minor); + zbar_version(&major, &minor, &patch); + RETVAL = newSVpvf("%u.%u.%u", major, minor, patch);