[packages] collectd: currently the build fails due to the combination of -Werror...
[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}"' \