summaryrefslogtreecommitdiff
path: root/chat/kadu/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'chat/kadu/patches/patch-aa')
-rw-r--r--chat/kadu/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/chat/kadu/patches/patch-aa b/chat/kadu/patches/patch-aa
new file mode 100644
index 00000000000..e9b3d7b4ae9
--- /dev/null
+++ b/chat/kadu/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/28 13:55:22 adam Exp $
+
+--- libgsm/Makefile.orig 2003-10-15 14:09:01.000000000 +0000
++++ libgsm/Makefile
+@@ -44,7 +44,7 @@ WAV49 = -DWAV49
+ # CCFLAGS = -c -O
+
+ CC = gcc -ansi -pedantic
+-CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
++CCFLAGS = -c -DNeedFunctionPrototypes=1
+
+ LD = $(CC)
+
+@@ -129,7 +129,7 @@ INC = $(ROOT)/inc
+ # DEBUG = -DNDEBUG
+ ######### Remove -DNDEBUG to enable assertions.
+
+-CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
++CFLAGS += $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
+ $(WAV49) $(CCINC) -I$(INC)
+ ######### It's $(CC) $(CFLAGS)
+