summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-12-25 10:17:44 +0000
committerPeter Volkov <pva@gentoo.org>2008-12-25 10:17:44 +0000
commit57e17866e14bbe180500bd055202d3ba25cf60ad (patch)
tree8c40d1dd0fdef5c9b250d8340e7b776552d39596 /net-misc/asterisk-spandsp_codec_g726/files
parentAdd patch from upstream for linux 2.6.28 support. (diff)
downloadhistorical-57e17866e14bbe180500bd055202d3ba25cf60ad.tar.gz
historical-57e17866e14bbe180500bd055202d3ba25cf60ad.tar.bz2
historical-57e17866e14bbe180500bd055202d3ba25cf60ad.zip
Fixed build issue with updated spandsp library, bug #252378, thank Bruno Redondi for this fix.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.26-openvz.git-89451f9 i686
Diffstat (limited to 'net-misc/asterisk-spandsp_codec_g726/files')
-rw-r--r--net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch b/net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch
new file mode 100644
index 000000000000..b0c825427a1f
--- /dev/null
+++ b/net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/show_bug.cgi?id=252378
+
+--- spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:46:26.000000000 +0100
++++ spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:53:20.000000000 +0100
+@@ -25,8 +25,10 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#define SPANDSP_EXPOSE_INTERNAL_STRUCTURES /* we need g726_state_s definition */
+ #include <spandsp.h>
+
++#define _PLC_H_ /* asterisk/plc.h conflicts with spandsp/plc.h */
+ #include "asterisk.h"
+
+ ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1.1 $")