summaryrefslogtreecommitdiff
path: root/recipes/zbar
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@gmail.com>2019-06-27 22:53:57 +0000
committerNicolas Dufresne <nicolas@ndufresne.ca>2019-06-27 22:53:57 +0000
commit10281e8ba5ff5042577fb726336b4baf900ffb30 (patch)
tree179d90468ac58b986283b289246a83afc1dcb0be /recipes/zbar
parentf17a525ab9f5d26d85369673c23f3162276b512c (diff)
zbar support in gst-plugins-bad
version 0.23
Diffstat (limited to 'recipes/zbar')
-rw-r--r--recipes/zbar/0001-Check-iso-c99-support.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/zbar/0001-Check-iso-c99-support.patch b/recipes/zbar/0001-Check-iso-c99-support.patch
new file mode 100644
index 00000000..ff55cd85
--- /dev/null
+++ b/recipes/zbar/0001-Check-iso-c99-support.patch
@@ -0,0 +1,25 @@
+From 1a14933b5635294db413a6052184f2d2bd6f3dcb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= <scerveau@collabora.com>
+Date: Tue, 28 May 2019 10:23:39 +0200
+Subject: [PATCH] Check iso c99 support
+
+zbar/sqcode.c requires c99 support and mingw
+needs -std=c99 flag.
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index 6d49847..935110a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -84,6 +84,7 @@ dnl programs
+ AC_PROG_CC
+ AM_PROG_CC_C_O
+ AC_PROG_CXX
++AC_PROG_CC_STDC
+
+ PKG_PROG_PKG_CONFIG
+
+--
+2.7.4