packages/net/asterisk/patches/asterisk-1.2.0-chan_bluetooth.patch
nico ea1c4047c0 port asterisk to -ng, add fixes from zandbelt (closes: #717 & #789)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-07 11:36:58 +00:00

21 lines
752 B
Diff

diff -ruN asterisk-1.2.0-old/channels/chan_bluetooth.c asterisk-1.2.0-new/channels/chan_bluetooth.c
--- asterisk-1.2.0-old/channels/chan_bluetooth.c 2005-12-04 04:48:40.000000000 +0100
+++ asterisk-1.2.0-new/channels/chan_bluetooth.c 2005-12-04 23:07:19.000000000 +0100
@@ -104,6 +104,7 @@
#include <asterisk/options.h>
#include <asterisk/cli.h>
#include <asterisk/callerid.h>
+#include <asterisk/version.h>
#include <sys/socket.h>
#include <sys/signal.h>
#include <sys/time.h>
@@ -3133,7 +3133,7 @@
struct ast_variable * v;
char * cat;
- cfg = ast_load(BLT_CONFIG_FILE);
+ cfg = ast_config_load(BLT_CONFIG_FILE);
if (!cfg) {
ast_log(LOG_NOTICE, "Unable to load Bluetooth config: %s. Bluetooth disabled\n", BLT_CONFIG_FILE);