Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2021 22:27:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253743] graphics/zbar: update to 0.23.90
Message-ID:  <bug-253743-7788-RjI7ynL2zu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253743-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253743-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253743

VVD <vvd@unislabs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kuriyama@FreeBSD.org

--- Comment #3 from VVD <vvd@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):=
=20
--- ZBar.xs.orig
+++ ZBar.xs
@@ -198,9 +198,10 @@
     PREINIT:
        unsigned major;
         unsigned minor;
+        unsigned patch;
     CODE:
-        zbar_version(&major, &minor);
-        RETVAL =3D newSVpvf("%u.%u", major, minor);
+        zbar_version(&major, &minor, &patch);
+        RETVAL =3D newSVpvf("%u.%u.%u", major, minor, patch);
     OUTPUT:
         RETVAL

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253743-7788-RjI7ynL2zu>