openbsd-ports/sysutils/collectd/patches/patch-configure

31 lines
947 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.3 2010/11/29 20:20:41 jasper Exp $
--- configure.orig Sat Nov 27 11:10:52 2010
+++ configure Mon Nov 29 20:20:38 2010
@@ -11718,7 +11718,7 @@ LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
-$as_echo "#define LIBTOOL_VERSION 2" >>confdefs.h
+$as_echo "#define LIBTOOL_VERSION 1" >>confdefs.h
@@ -15457,7 +15457,7 @@ SAVE_CFLAGS="$CFLAGS"
# Emulate behavior of src/Makefile.am
if test "x$GCC" = "xyes"
then
- CFLAGS="$CFLAGS -Wall -Werror"
+ CFLAGS="$CFLAGS -Wall"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtok_r" >&5
@@ -20752,7 +20752,7 @@ then
SAVE_LDFLAGS="$LDFLAGS"
# trigger an error if Perl_load_module*() uses __attribute__nonnull__(3)
# (see issues #41 and #42)
- CFLAGS="$CFLAGS $PERL_CFLAGS -Wall -Werror"
+ CFLAGS="$CFLAGS $PERL_CFLAGS -Wall"
LDFLAGS="$LDFLAGS $PERL_LDFLAGS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken Perl_load_module()" >&5