varnish/varnish-4.0.3_fix_Werror_el6.patch
Ingvar Hagelund 91dcc45031 New upstream release
- Removed systemd patch included upstream
- Rebased trivial Werr-patch for varnish-4.0.3
- Added patch to build on el5
2015-03-05 21:26:06 +01:00

12 lines
570 B
Diff

--- configure.old 2015-03-05 13:20:10.546649666 +0100
+++ configure 2015-03-05 13:20:14.099663485 +0100
@@ -16794,7 +16794,7 @@
# The reason for -Wno-error=unused-result is a glibc/gcc interaction
# idiocy where write is marked as warn_unused_result, causing build
# failures.
-CFLAGS="${CFLAGS} -Wall -Werror"
+#CFLAGS="${CFLAGS} -Wall -Werror"
OCFLAGS="${OCFLAGS} -Wall -Werror"
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__-Werror=unused-result" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unused-result" >&5