summaryrefslogtreecommitdiff
path: root/graphics/barcode/patches/patch-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/barcode/patches/patch-main.c')
-rw-r--r--graphics/barcode/patches/patch-main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/barcode/patches/patch-main.c b/graphics/barcode/patches/patch-main.c
new file mode 100644
index 00000000000..baf406fa1b0
--- /dev/null
+++ b/graphics/barcode/patches/patch-main.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-main.c,v 1.1 2013/10/06 17:15:35 adam Exp $
+
+Avoid double symbols: define one global variable 'streaming'.
+
+--- main.c.orig 2013-03-29 22:22:24.000000000 +0000
++++ main.c
+@@ -32,6 +32,8 @@
+ #include <paper.h>
+ #endif
+
++int streaming;
++
+ /*
+ * Most of this file deals with command line options, by exploiting
+ * the cmdline.[ch] engine to offer defaults via environment variables