diff options
Diffstat (limited to 'chat/jabberd2/patches/patch-af')
-rw-r--r-- | chat/jabberd2/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/jabberd2/patches/patch-af b/chat/jabberd2/patches/patch-af new file mode 100644 index 00000000000..98bf7da1c66 --- /dev/null +++ b/chat/jabberd2/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.5 2010/04/15 07:02:51 adam Exp $ + +--- configure.orig 2010-02-22 07:15:14.000000000 +0000 ++++ configure +@@ -11394,7 +11394,7 @@ fi + # check for optimisation level + { $as_echo "$as_me:$LINENO: checking CFLAGS optimization level" >&5 + $as_echo_n "checking CFLAGS optimization level... " >&6; } +-if echo $CFLAGS | grep '.*-O[3s].*' >/dev/null 2>&1; then ++if echo $CFLAGS | grep '.*-O[3].*' >/dev/null 2>&1; then + { { $as_echo "$as_me:$LINENO: error: maximum allowed optimization level is -O2" >&5 + $as_echo "$as_me: error: maximum allowed optimization level is -O2" >&2;} + { (exit 1); exit 1; }; } |