View | Details | Raw Unified | Return to bug 253931
Collapse All | Expand All

(-)graphics/p5-Barcode-ZBar/files/patch-ZBar.xs (+15 lines)
Line 0 Link Here
1
--- ZBar.xs.orig
2
+++ ZBar.xs
3
@@ -198,9 +198,10 @@
4
     PREINIT:
5
 	unsigned major;
6
         unsigned minor;
7
+        unsigned patch;
8
     CODE:
9
-        zbar_version(&major, &minor);
10
-        RETVAL = newSVpvf("%u.%u", major, minor);
11
+        zbar_version(&major, &minor, &patch);
12
+        RETVAL = newSVpvf("%u.%u.%u", major, minor, patch);
13
     OUTPUT:
14
         RETVAL
15
 

Return to bug 253931