From 43b888f78bb9e8180d6cb5d77a9f6d1f392862d4 Mon Sep 17 00:00:00 2001 From: riz Date: Tue, 24 May 2005 14:29:06 +0000 Subject: Fix the build of asterisk on powerpc platforms. Approved by jmcneill. --- comms/asterisk/distinfo | 4 +++- comms/asterisk/patches/patch-af | 19 +++++++++++++++++++ comms/asterisk/patches/patch-ag | 19 +++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 comms/asterisk/patches/patch-af create mode 100644 comms/asterisk/patches/patch-ag (limited to 'comms') diff --git a/comms/asterisk/distinfo b/comms/asterisk/distinfo index 4a5df0f7433..d2b631b6ebe 100644 --- a/comms/asterisk/distinfo +++ b/comms/asterisk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/04/13 19:23:56 riz Exp $ +$NetBSD: distinfo,v 1.3 2005/05/24 14:29:06 riz Exp $ SHA1 (asterisk-1.0.7.tar.gz) = 7e91d6771901c34f6bbd8e0bbc3ca15173654c87 RMD160 (asterisk-1.0.7.tar.gz) = bb738f0e3d100314fa7497c9ee81f8a022e536bb @@ -8,3 +8,5 @@ SHA1 (patch-ab) = 435a76cd7bad98b0809fa47b5b79530767027aa9 SHA1 (patch-ac) = e6aad8435be3c616112afec59b968c29721d98e3 SHA1 (patch-ad) = c19da2acb25c8fe68882d222d4f5dcb1be75cf63 SHA1 (patch-ae) = 9069d535ac150b1715694e45658540624d512583 +SHA1 (patch-af) = 1af2fb1140002745cf1f5540a7ffef8c054e8996 +SHA1 (patch-ag) = 3e6ce8f463df94fe9cba8fa8dbe03eda408aa581 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. diff --git a/comms/asterisk/patches/patch-ag b/comms/asterisk/patches/patch-ag new file mode 100644 index 00000000000..85ab027b462 --- /dev/null +++ b/comms/asterisk/patches/patch-ag @@ -0,0 +1,19 @@ +$NetBSD: patch-ag,v 1.1 2005/05/24 14:29:06 riz Exp $ +--- codecs/lpc10/Makefile.orig 2005-05-23 20:31:37.000000000 -0700 ++++ codecs/lpc10/Makefile 2005-05-23 20:32:34.000000000 -0700 +@@ -29,6 +29,7 @@ + ifneq ($(OSARCH),Darwin) + ifneq ($(findstring BSD,${OSARCH}),BSD) + ifneq ($(PROC),ppc) ++ifneq ($(PROC),powerpc) + ifneq ($(PROC),x86_64) + ifneq ($(PROC),alpha) + #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only. +@@ -46,6 +47,7 @@ + endif + endif + endif ++endif + + LIB = $(LIB_TARGET_DIR)/liblpc10.a + -- cgit v1.2.3