summaryrefslogtreecommitdiff
path: root/chat/ircu/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ircu/patches/patch-ah')
-rw-r--r--chat/ircu/patches/patch-ah15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat/ircu/patches/patch-ah b/chat/ircu/patches/patch-ah
new file mode 100644
index 00000000000..f4cf84a82f5
--- /dev/null
+++ b/chat/ircu/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2005/05/12 08:32:51 rillig Exp $
+
+Strip debugging CFLAGS correctly. Has been reported upstream.
+
+--- configure.orig Sat Sep 18 04:17:45 2004
++++ configure Thu May 12 09:56:30 2005
+@@ -2370,7 +2370,7 @@ if test x"$CFLAGS" != x; then
+ fi
+ if test x"$CFLAGS" != x; then
+ unet_old_cflags=$CFLAGS
+- CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//g'`
++ CFLAGS=`echo "$CFLAGS" | sed -e 's/-g.*//g'`
+ fi
+ if test x"$CFLAGS" != x"$unet_old_cflags"; then
+ # If -g was already there, force symbols to be enabled