Merge pull request #805 from micmac1/sccp-autoconf-2.70

asterisk-chan-sccp: autoconf fixes
This commit is contained in:
micmac1 2023-03-24 10:03:33 +01:00 committed by GitHub
commit e29aac525c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 8 deletions

View file

@ -9,7 +9,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk-chan-sccp PKG_NAME:=asterisk-chan-sccp
PKG_RELEASE:=1 PKG_RELEASE:=2
# Updated to v4.3.3 release # Updated to v4.3.3 release
PKG_SOURCE_URL:=https://github.com/chan-sccp/chan-sccp.git PKG_SOURCE_URL:=https://github.com/chan-sccp/chan-sccp.git
@ -26,6 +26,9 @@ PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
PKG_INSTALL:=1 PKG_INSTALL:=1
# need iconv.m4, otherwise error during autoreconf
PKG_BUILD_DEPENDS:=gettext-full
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
# chan-sccp needs iconv # chan-sccp needs iconv
include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/nls.mk

View file

@ -1,6 +1,6 @@
--- a/autoconf/extra.m4 --- a/autoconf/extra.m4
+++ b/autoconf/extra.m4 +++ b/autoconf/extra.m4
@@ -491,17 +491,6 @@ AC_DEFUN([CS_ENABLE_OPTIMIZATION], [ @@ -516,17 +516,6 @@ AC_DEFUN([CS_ENABLE_OPTIMIZATION], [
], SUPPORTED_CFLAGS) ], SUPPORTED_CFLAGS)
]) ])
AC_SUBST([strip_binaries]) AC_SUBST([strip_binaries])

View file

@ -0,0 +1,11 @@
--- a/autoconf/acinclude.m4
+++ b/autoconf/acinclude.m4
@@ -497,7 +497,7 @@ AC_DEFUN([CS_GET_VERSION], [
SCCP_REVISION="unknown"
CURRENT=`pwd`
- BASE=`dirname $ac_dir`
+ BASE=`dirname $ac_aux_dir`
cd $BASE >/dev/null
. ./tools/versioncheck silent
cd $CURRENT >/dev/null

View file

@ -1,8 +1,6 @@
Index: chan-sccp-v4.3.0-20171123/src/chan_sccp.c --- a/src/chan_sccp.c
=================================================================== +++ b/src/chan_sccp.c
--- chan-sccp-v4.3.0-20171123.orig/src/chan_sccp.c @@ -198,7 +198,7 @@ boolean_t sccp_postPBX_load(void)
+++ chan-sccp-v4.3.0-20171123/src/chan_sccp.c
@@ -186,7 +186,7 @@ boolean_t sccp_postPBX_load(void)
#else #else
snprintf(SCCP_REVISIONSTR, sizeof(SCCP_REVISIONSTR), "%s", SCCP_REVISION); snprintf(SCCP_REVISIONSTR, sizeof(SCCP_REVISIONSTR), "%s", SCCP_REVISION);
#endif #endif