aboutsummaryrefslogtreecommitdiff
path: root/package/libconfuse/libconfuse-2.6-dont-use-werror.patch
blob: 50d073326461b1e98fa247279e6aee657bb1a252 (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
26
27
28
29
30
31
32
33
34
confuse: don't compile with -Werror

Werror isn't really a robust setting for !development.
---
 src/Makefile.am |    2 +-
 src/Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: confuse-2.6/src/Makefile.am
===================================================================
--- confuse-2.6.orig/src/Makefile.am
+++ confuse-2.6/src/Makefile.am
@@ -10,7 +10,7 @@
 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
 
 if cc_is_gcc
-AM_CFLAGS=-Wall -Werror
+AM_CFLAGS=-Wall
 endif
 
 LIBS = @LIBS@
Index: confuse-2.6/src/Makefile.in
===================================================================
--- confuse-2.6.orig/src/Makefile.in
+++ confuse-2.6/src/Makefile.in
@@ -196,7 +196,7 @@
 libconfuse_la_SOURCES = confuse.c lexer.l
 libconfuse_la_LIBADD = $(LTLIBINTL)
 include_HEADERS = confuse.h
-@cc_is_gcc_TRUE@AM_CFLAGS = -Wall -Werror
+@cc_is_gcc_TRUE@AM_CFLAGS = -Wall
 CLEANFILES = *~ \#*\#
 AM_LFLAGS = -Pcfg_yy -olex.yy.c
 all: all-am