diff --git a/recipes-isdn/asterisk/asterisk_1.8.8.1.bb b/recipes-isdn/asterisk/asterisk_1.8.8.1.bb index 869de251c6..f31ae33f43 100644 --- a/recipes-isdn/asterisk/asterisk_1.8.8.1.bb +++ b/recipes-isdn/asterisk/asterisk_1.8.8.1.bb @@ -1,5 +1,5 @@ # Copyright (C) 2007-2008, Stelios Koroneos - Digital OPSiS, All Rights Reserved -# Copyright (C) 2011, sysmocom - systems for mobile communications GmbH +# Copyright (C) 2011-2012, sysmocom - systems for mobile communications GmbH # Released under the MIT license (see packages/COPYING) DESCRITOPN = "asterisk PBX" DEPENDS = "openssl ncurses" @@ -7,11 +7,12 @@ HOMEPAGE = "http://www.asterisk.org" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=3c6764ffcbe996d1d8f919b393ccdd67" -PR = "r3" +PR = "r4" SRC_URI = "http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-${PV}.tar.gz \ file://modules.conf \ - file://asterisk.init " + file://asterisk.init \ + file://stop-crash.patch " SRC_URI[md5sum] = "783b2da2036745edeea8885c62bbc8bf" SRC_URI[sha256sum] = "ed98204f6261e1362c673e595823c668ae39b9833daec9127a4936cf9f4890e1" diff --git a/recipes-isdn/asterisk/files/stop-crash.patch b/recipes-isdn/asterisk/files/stop-crash.patch new file mode 100644 index 0000000000..3fe0d5e4a9 --- /dev/null +++ b/recipes-isdn/asterisk/files/stop-crash.patch @@ -0,0 +1,13 @@ +Index: asterisk-1.8.8.1/res/res_rtp_asterisk.c +=================================================================== +--- asterisk-1.8.8.1.orig/res/res_rtp_asterisk.c 2011-09-20 08:56:20.000000000 +0800 ++++ asterisk-1.8.8.1/res/res_rtp_asterisk.c 2012-01-16 02:45:57.227713136 +0800 +@@ -1902,7 +1902,7 @@ + "IAJitter: %u\r\n" + "LastSR: %lu.%010lu\r\n" + "DLSR: %4.4f(sec)\r\n", +- ast_sockaddr_stringify(&addr), ++ "NA" /*ast_sockaddr_stringify(&addr)*/, + pt, (pt == 200) ? "Sender Report" : (pt == 201) ? "Receiver Report" : (pt == 192) ? "H.261 FUR" : "Unknown", + rc, + rtcpheader[i + 1],