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

31 lines
947 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2010/09/07 11:12:05 landry Exp $
--- configure.orig Fri Jul 9 12:02:17 2010
+++ configure Thu Aug 5 13:07:16 2010
@@ -11709,7 +11709,7 @@ LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
-$as_echo "#define LIBTOOL_VERSION 2" >>confdefs.h
+$as_echo "#define LIBTOOL_VERSION 1" >>confdefs.h
@@ -15451,7 +15451,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
@@ -20750,7 +20750,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