aboutsummaryrefslogtreecommitdiff
path: root/package/libconfuse
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-21 20:45:10 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-21 20:45:10 +0000
commit5f79c0bf446796d4a09549ecaeeccf0c76cf1b72 (patch)
tree0137c8e0afa9db1ae2cd792a64b02fe4ea489460 /package/libconfuse
parentb6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c (diff)
downloadbuildroot-5f79c0bf446796d4a09549ecaeeccf0c76cf1b72.tar.gz
buildroot-5f79c0bf446796d4a09549ecaeeccf0c76cf1b72.tar.bz2
libconfuse: fix build by removing -Werror flag
Diffstat (limited to 'package/libconfuse')
-rw-r--r--package/libconfuse/libconfuse-2.6-dont-use-werror.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/libconfuse/libconfuse-2.6-dont-use-werror.patch b/package/libconfuse/libconfuse-2.6-dont-use-werror.patch
new file mode 100644
index 0000000000..50d0733264
--- /dev/null
+++ b/package/libconfuse/libconfuse-2.6-dont-use-werror.patch
@@ -0,0 +1,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