summaryrefslogtreecommitdiff
path: root/recipes/zbar/0001-Check-iso-c99-support.patch
blob: ff55cd8550b98739c563e3288336b799052c4514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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