[packages] collectd: remove further instances of -Werror to fix compilation with...
[openwrt/svn-archive/archive.git] / utils / collectd / patches / 003-remove-werror.patch
1 --- a/src/Makefile.am
2 +++ b/src/Makefile.am
3 @@ -7,7 +7,7 @@ SUBDIRS += liboconfig
4 endif
5
6 if COMPILER_IS_GCC
7 -AM_CFLAGS = -Wall -Werror
8 +AM_CFLAGS = -Wall
9 endif
10
11 AM_CPPFLAGS = -DPREFIX='"${prefix}"'
12 --- a/src/Makefile.in
13 +++ b/src/Makefile.in
14 @@ -1836,7 +1836,7 @@ top_build_prefix = @top_build_prefix@
15 top_builddir = @top_builddir@
16 top_srcdir = @top_srcdir@
17 SUBDIRS = libcollectdclient $(am__append_1) $(am__append_2)
18 -@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall -Werror
19 +@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall
20 AM_CPPFLAGS = -DPREFIX='"${prefix}"' \
21 -DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"' \
22 -DLOCALSTATEDIR='"${localstatedir}"' \
23 --- a/src/libcollectdclient/Makefile.am
24 +++ b/src/libcollectdclient/Makefile.am
25 @@ -1,7 +1,7 @@
26 AUTOMAKE_OPTIONS = foreign no-dependencies
27
28 if COMPILER_IS_GCC
29 -AM_CFLAGS = -Wall -Werror
30 +AM_CFLAGS = -Wall
31 endif
32
33 pkginclude_HEADERS = client.h lcc_features.h
34 --- a/src/libcollectdclient/Makefile.in
35 +++ b/src/libcollectdclient/Makefile.in
36 @@ -329,7 +329,7 @@ top_build_prefix = @top_build_prefix@
37 top_builddir = @top_builddir@
38 top_srcdir = @top_srcdir@
39 AUTOMAKE_OPTIONS = foreign no-dependencies
40 -@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall -Werror
41 +@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall
42 pkginclude_HEADERS = client.h lcc_features.h
43 lib_LTLIBRARIES = libcollectdclient.la
44 nodist_pkgconfig_DATA = libcollectdclient.pc
45 --- a/src/owniptc/Makefile.am
46 +++ b/src/owniptc/Makefile.am
47 @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign no-dependenci
48 EXTRA_DIST = libiptc.c README.collectd
49
50 if COMPILER_IS_GCC
51 -AM_CFLAGS = -Wall -Werror
52 +AM_CFLAGS = -Wall
53 endif
54
55 noinst_LTLIBRARIES = libiptc.la
56 --- a/src/owniptc/Makefile.in
57 +++ b/src/owniptc/Makefile.in
58 @@ -298,7 +298,7 @@ top_builddir = @top_builddir@
59 top_srcdir = @top_srcdir@
60 AUTOMAKE_OPTIONS = foreign no-dependencies
61 EXTRA_DIST = libiptc.c README.collectd
62 -@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall -Werror
63 +@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall
64 noinst_LTLIBRARIES = libiptc.la
65 libiptc_la_SOURCES = libip4tc.c libip6tc.c \
66 ipt_kernel_headers.h libip6tc.h libiptc.h linux_list.h \