svn commit: r567834 - head/graphics/p5-Barcode-ZBar/files

Fernando Apesteguía fernape at FreeBSD.org
Mon Mar 8 11:10:10 UTC 2021


Author: fernape
Date: Mon Mar  8 11:10:09 2021
New Revision: 567834
URL: https://svnweb.freebsd.org/changeset/ports/567834

Log:
  graphics/p5-Barcode-ZBar: support new version of graphics/zbar
  
  graphics/zbar was updated in PR 253743
  
  PR:	253931
  Submitted by:	vvd at unislabs.com
  Approved by:	kuriyama at FreeBSD.org (maintainer, timeout > 1 week)

Added:
  head/graphics/p5-Barcode-ZBar/files/
  head/graphics/p5-Barcode-ZBar/files/patch-ZBar.xs   (contents, props changed)

Added: head/graphics/p5-Barcode-ZBar/files/patch-ZBar.xs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/p5-Barcode-ZBar/files/patch-ZBar.xs	Mon Mar  8 11:10:09 2021	(r567834)
@@ -0,0 +1,15 @@
+--- 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
+ 


More information about the svn-ports-head mailing list