summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk/patches/patch-af')
-rw-r--r--comms/asterisk/patches/patch-af19
1 files changed, 19 insertions, 0 deletions
diff --git a/comms/asterisk/patches/patch-af b/comms/asterisk/patches/patch-af
new file mode 100644
index 00000000000..e9d825b5bf5
--- /dev/null
+++ b/comms/asterisk/patches/patch-af
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.1 2005/05/24 14:29:06 riz Exp $
+--- codecs/gsm/Makefile.orig 2005-05-23 20:29:10.000000000 -0700
++++ codecs/gsm/Makefile 2005-05-23 20:29:48.000000000 -0700
+@@ -43,6 +43,7 @@
+ ifneq ($(shell uname -m),ppc)
+ ifneq ($(shell uname -m),alpha)
+ ifneq (${PROC},sparc64)
++ifneq (${PROC},powerpc)
+ OPTIMIZE+=-march=$(PROC)
+ endif
+ endif
+@@ -50,6 +51,7 @@
+ endif
+ endif
+ endif
++endif
+
+ #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
+ #This works for even old (2.96) versions of gcc and provides a small boost either way.