[packages] nzbget: fix compilation against OpenSSL v1.x (#8893)
[openwrt/svn-archive/archive.git] / net / asterisk-1.4.x / patches / 040-libgsm_avr32_fix.patch
1 --- a/codecs/gsm/Makefile
2 +++ b/codecs/gsm/Makefile
3 @@ -38,7 +38,7 @@ WAV49 = -DWAV49
4 ######### probably require gcc.
5
6 ifeq (, $(findstring $(OSARCH) , Darwin SunOS ))
7 -ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips))
8 +ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b armeb avr32 hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips))
9 ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l s390 ))
10 OPTIMIZE+=-march=$(PROC)
11 endif
12 @@ -209,7 +209,7 @@ GSM_SOURCES = $(SRC)/add.c \
13 # XXX should merge with GSM_OBJECTS
14 ifeq ($(OSARCH),linux-gnu)
15 ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc s390 ))
16 -ifeq (,$(findstring $(PROC) , arm armv5b armeb powerpc ia64 s390 bfin mipsel mips ))
17 +ifeq (,$(findstring $(PROC) , arm armv5b armeb avr32 powerpc ia64 s390 bfin mipsel mips ))
18 GSM_SOURCES+= $(SRC)/k6opt.s
19 endif
20 endif
21 @@ -261,7 +261,7 @@ GSM_OBJECTS = $(SRC)/add.o \
22
23 ifeq ($(OSARCH),linux-gnu)
24 ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc ))
25 -ifeq (,$(findstring $(PROC) , arm armv5b armeb powerpc ia64 bfin mipsel mips ))
26 +ifeq (,$(findstring $(PROC) , arm armv5b armeb avr32 powerpc ia64 bfin mipsel mips ))
27 GSM_OBJECTS+= $(SRC)/k6opt.o
28 endif
29 endif