asterisk: added patch for 1.2.9.1 to compile if alsa is present
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>
Mon, 12 Jun 2006 05:23:51 +0000 (05:23 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 12 Jun 2006 05:23:51 +0000 (05:23 +0000)
packages/asterisk/asterisk-1.2.9.1/asterisk.patch
packages/asterisk/asterisk_1.2.9.1.bb

index 6277387..5a5882d 100644 (file)
  
  ifneq ($(wildcard .depend),)
    include .depend
+@@ -215,7 +215,7 @@
+ chan_alsa.o: $(ALSA_SRC)
+ chan_alsa.so: chan_alsa.o
+-      $(CC) $(SOLINK) -o $@ $< -lasound -lm -ldl
++      $(CC) $(SOLINK) -o $@ $< -lasound -lm -ldl $(LDFLAGS)
+ chan_nbs.so: chan_nbs.o
+       $(CC) $(SOLINK) -o $@ $< -lnbs
 --- asterisk-1.2.9.1/pbx/Makefile~asterisk
 +++ asterisk-1.2.9.1/pbx/Makefile
 @@ -59,7 +59,7 @@
index 7e7448d..042807b 100644 (file)
@@ -1,8 +1,8 @@
-DESCRIPTION="The Astersisk open source software PBX"
+DESCRIPTION="The Asterisk open source software PBX"
 HOMEPAGE="www.asterisk.org"
 LICENSE="GPL"
-DEPENDS="ncurses zlib openssl curl"
-PR = "r1"
+DEPENDS="ncurses zlib openssl curl alsa-lib"
+PR = "r2"
 
 SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \
          file://asterisk.patch;patch=1"