Skip to content

Commit

Permalink
graphics/p5-Barcode-ZBar: Update to 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Apr 17, 2022
1 parent 1a1147d commit d699b28
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion 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-
Expand All @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions 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
6 changes: 3 additions & 3 deletions 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);
Expand Down

0 comments on commit d699b28

Please sign in to comment.