mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
graphics/p5-Barcode-ZBar: Update to 0.10
Changes: https://metacpan.org/dist/Barcode-ZBar/changes
This commit is contained in:
parent
1a1147d801
commit
d699b28bc2
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user