[Bug 253743] graphics/zbar: update to 0.23.90
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 21 22:27:14 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253743
VVD <vvd at unislabs.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kuriyama at FreeBSD.org
--- Comment #3 from VVD <vvd at unislabs.com> ---
Dependent ports:
1. graphics/gstreamer1-plugins-zbar - build without errors.
2. graphics/py-zbar-py - build without errors.
3. graphics/qtqr - build without errors and work fine.
4. graphics/p5-Barcode-ZBar - build error with new version of the zbar:
ZBar.xs:202:36: error: too few arguments to function call, expected 3, have 2
zbar_version(&major, &minor);
~~~~~~~~~~~~ ^
/usr/local/include/zbar.h:270:1: note: 'zbar_version' declared here
extern int zbar_version(unsigned *major,
^
1 error generated.
*** [ZBar.o] Error code 1
Build fine with this patch (graphics/p5-Barcode-ZBar/files/patch-ZBar.xs):
--- ZBar.xs.orig
+++ ZBar.xs
@@ -198,9 +198,10 @@
PREINIT:
unsigned major;
unsigned minor;
+ unsigned patch;
CODE:
- zbar_version(&major, &minor);
- RETVAL = newSVpvf("%u.%u", major, minor);
+ zbar_version(&major, &minor, &patch);
+ RETVAL = newSVpvf("%u.%u.%u", major, minor, patch);
OUTPUT:
RETVAL
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list