This patch includes Makefile changes for chan-sccp-b V4.1-RC1 compiled against 
the asterisk-1.8.x package.

Improvements:

 * Compiles against asterisk-1.6 uptill asterisk-11-branch (and even 
asterisk-trunk)
 * Major fixes/improvements in
     o config parser
     o socket handling
     o threadpool
     o refcount system
     o lower memory usage
     o reworked event handler
 * Added functionality
     o conferencing
     o building conference list (cisco-xml)

Signed-off-by: Diederik de Groot <[email protected]>

Removed Files (They are not necessary anymore, they have been patched in the 
original source repository):
patches/200-register-file-version.patch
patches/300-stdarg.patch




Index: patches/200-register-file-version.patch
===================================================================
--- patches/200-register-file-version.patch    (revision 36602)
+++ patches/200-register-file-version.patch    (working copy)
@@ -1,19 +0,0 @@
---- a/src/chan_sccp.h
-+++ b/src/chan_sccp.h
-@@ -127,15 +127,7 @@ extern "C" {
- #        define CHECK_LEAKS()
- #    endif
-
--#    define SCCP_FILE_VERSION(file, version) \
--    static void __attribute__((constructor)) __register_file_version(void) \
--    { \
--        pbx_register_file_version(file, version); \
--    } \
--    static void __attribute__((destructor)) __unregister_file_version(void) \
--    { \
--        pbx_unregister_file_version(file); \
--    }
-+#    define SCCP_FILE_VERSION(file, version)
-
- #    define DEV_ID_LOG(x) x ? x->id : "SCCP"
-
Index: patches/300-stdarg.patch
===================================================================
--- patches/300-stdarg.patch    (revision 36602)
+++ patches/300-stdarg.patch    (working copy)
@@ -1,10 +0,0 @@
---- a/src/chan_sccp.h
-+++ b/src/chan_sccp.h
-@@ -32,6 +32,7 @@ extern "C" {
- #include "common.h"
- #include <poll.h>
- #include "asterisk/compiler.h"
-+#include <stdarg.h>
- #include "asterisk/lock.h"
- #include "asterisk/abstract_jb.h"
-
Index: Makefile
===================================================================
--- Makefile    (revision 36602)
+++ Makefile    (working copy)
@@ -8,16 +8,18 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=asterisk18-chan-sccp-b
-PKG_REV=3004
+PKG_REV=4631
 PKG_VERSION:=r$(PKG_REV)
 PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://chan-sccp-b.svn.sourceforge.net/svnroot/chan-sccp-b/trunk
+PKG_SOURCE_URL:=https://svn.code.sf.net/p/chan-sccp-b/code/trunk
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
 PKG_SOURCE_PROTO:=svn

+PKG_FIXUP:=autoreconf -fi
+
 include $(INCLUDE_DIR)/package.mk

 define Package/asterisk18-chan-sccp-b
@@ -35,12 +37,13 @@
  by asterisk by default.
 endef

-CONFIGURE_ARGS += \
-    --with-asterisk=$(STAGING_DIR)/usr/include/asterisk-1.8
+define Build/Configure
+    $(call 
Build/Configure/Default,--with-asterisk=$(STAGING_DIR)/usr/include/asterisk-1.8)
+endef

 define Build/Compile
     $(MAKE) -C "$(PKG_BUILD_DIR)" \
-        CFLAGS="$(CFLAGS) -DLOW_MEMORY" \
+        CFLAGS="$(CFLAGS) -I$(PKG_BUILD_DIR)/src -DLOW_MEMORY" \
         DESTDIR="$(PKG_INSTALL_DIR)" \
         all install
 endef

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to