From b0fa07615b6da9d5cdb418aeaafc884ecee3d518 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Tue, 10 Sep 2013 23:19:11 +0300 Subject: [PATCH] Remove -Werror which causes build to fail on EPEL5. --- json-c-0.11-cflags.patch | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 json-c-0.11-cflags.patch diff --git a/json-c-0.11-cflags.patch b/json-c-0.11-cflags.patch new file mode 100644 index 0000000..f632c2c --- /dev/null +++ b/json-c-0.11-cflags.patch @@ -0,0 +1,7 @@ +diff -up json-c-json-c-0.11-20130402/Makefile.am.inc.orig json-c-json-c-0.11-20130402/Makefile.am.inc +--- json-c-json-c-0.11-20130402/Makefile.am.inc.orig 2013-04-03 05:04:18.000000000 +0300 ++++ json-c-json-c-0.11-20130402/Makefile.am.inc 2013-09-10 23:16:02.537432646 +0300 +@@ -1,2 +1,2 @@ +-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT ++AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE -D_REENTRANT +