aboutsummaryrefslogtreecommitdiffstats
path: root/community/asterisk-chan-dongle/asterisk-14.patch
blob: 49f20b765e74731ee8d3a38c8b4133991dd7c7c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff -ru asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24.orig/Makefile.in asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24/Makefile.in
--- asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24.orig/Makefile.in	2016-10-02 17:35:30.000000000 +0300
+++ asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24/Makefile.in	2016-11-11 15:29:54.789991216 +0200
@@ -37,7 +37,7 @@
 INSTALL = @INSTALL@
 CHMOD = chmod
 
-DEFS    = -DASTERISK_VERSION_NUM=130000
+DEFS    = -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module
 CFLAGS  = @CFLAGS@ -I$(srcdir) @CPPFLAGS@ $(DEFS) @DEFS@ @AC_CFLAGS@
 LDFLAGS = @LDFLAGS@
 SOLINK  = @SOLINK@
diff -ru asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24.orig/chan_dongle.c asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24/chan_dongle.c
--- asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24.orig/chan_dongle.c	2016-10-02 17:35:30.000000000 +0300
+++ asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24/chan_dongle.c	2016-11-11 15:28:51.832489663 +0200
@@ -39,10 +39,7 @@
 #include <config.h>
 #endif /* HAVE_CONFIG_H */
 
-
 #include <asterisk.h>
-ASTERISK_FILE_VERSION(__FILE__, "$Rev: " PACKAGE_REVISION " $")
-
 #include <asterisk/ast_version.h>
 #include <asterisk/stringfields.h>	/* AST_DECLARE_STRING_FIELDS for asterisk/manager.h */
 #include <asterisk/manager.h>
@@ -1793,8 +1790,3 @@
         );
 
 //AST_MODULE_INFO_STANDARD (ASTERISK_GPL_KEY, MODULE_DESCRIPTION);
-
-EXPORT_DEF struct ast_module* self_module()
-{
-	return ast_module_info->self;
-}