pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/asterisk Fix the build of asterisk on powerpc pl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34d34c49375d
branches:  trunk
changeset: 494457:34d34c49375d
user:      riz <riz%pkgsrc.org@localhost>
date:      Tue May 24 14:29:06 2005 +0000

description:
Fix the build of asterisk on powerpc platforms.  Approved by jmcneill.

diffstat:

 comms/asterisk/distinfo         |   4 +++-
 comms/asterisk/patches/patch-af |  19 +++++++++++++++++++
 comms/asterisk/patches/patch-ag |  19 +++++++++++++++++++
 3 files changed, 41 insertions(+), 1 deletions(-)

diffs (61 lines):

diff -r 74970add5ca6 -r 34d34c49375d comms/asterisk/distinfo
--- a/comms/asterisk/distinfo   Tue May 24 14:26:26 2005 +0000
+++ b/comms/asterisk/distinfo   Tue May 24 14:29:06 2005 +0000
@@ -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-ac) = e6aad8435be3c616112afec59b968c29721d98e3
 SHA1 (patch-ad) = c19da2acb25c8fe68882d222d4f5dcb1be75cf63
 SHA1 (patch-ae) = 9069d535ac150b1715694e45658540624d512583
+SHA1 (patch-af) = 1af2fb1140002745cf1f5540a7ffef8c054e8996
+SHA1 (patch-ag) = 3e6ce8f463df94fe9cba8fa8dbe03eda408aa581
diff -r 74970add5ca6 -r 34d34c49375d comms/asterisk/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/asterisk/patches/patch-af   Tue May 24 14:29:06 2005 +0000
@@ -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 -r 74970add5ca6 -r 34d34c49375d comms/asterisk/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/asterisk/patches/patch-ag   Tue May 24 14:29:06 2005 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index