diff options
author | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2010-09-13 18:05:43 +0900 |
---|---|---|
committer | Bartlomiej Palmowski <rotwang@crux.org.pl> | 2010-09-13 18:41:47 +0200 |
commit | 0bfaa5333ad17d06779ade90959f5e11b8ad2411 (patch) | |
tree | 7d5ca618d260750d8bd3f9d468d6012a0ce6f72a /asterisk/1.4-gsm-gcc4.2.patch | |
parent | 376934e5d467a61edf022aecccb1491934cb4f09 (diff) | |
download | contrib-0bfaa5333ad17d06779ade90959f5e11b8ad2411.tar.gz contrib-0bfaa5333ad17d06779ade90959f5e11b8ad2411.tar.xz |
asterisk: Updated version 1.4.29.1 -> 1.4.35
Diffstat (limited to 'asterisk/1.4-gsm-gcc4.2.patch')
-rw-r--r-- | asterisk/1.4-gsm-gcc4.2.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/asterisk/1.4-gsm-gcc4.2.patch b/asterisk/1.4-gsm-gcc4.2.patch deleted file mode 100644 index c227439e4..000000000 --- a/asterisk/1.4-gsm-gcc4.2.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur asterisk-1.4.17.orig/codecs/gsm/Makefile asterisk-1.4.17/codecs/gsm/Makefile ---- asterisk-1.4.17.orig/codecs/gsm/Makefile 2007-02-16 19:31:42.000000000 -0500 -+++ asterisk-1.4.17/codecs/gsm/Makefile 2008-01-15 13:23:37.000000000 -0500 -@@ -37,6 +37,14 @@ - ######### ppro's, etc, as well as the AMD K6 and K7. The compile will - ######### probably require gcc. - -+# Due to the gsm codec beeing broken when compiled with gcc version 4.2 -+# and optimization higher than -O2 we are checking for that version and -+# set the optimization to -O2 in this case. -+ -+ifeq ($(shell gcc -v 2>&1 | grep "gcc version" | cut -c 13-16 ),4.2.) -+OPTIMIZE=-O2 -+endif -+ - ifeq (, $(findstring $(OSARCH) , Darwin SunOS )) - ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b armeb ppc powerpc ppc64 ia64 s390 bfin mipsel )) - ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l s390 )) |