From aed7857cee85ad067ba786e5d0c708eda76420c4 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 24 Jun 2015 21:08:16 +0200 Subject: [PATCH] asterisk-11.x-chan-dongle: support E1752 and refresh patches Signed-off-by: Daniel Golle --- net/asterisk-11.x-chan-dongle/Makefile | 2 +- .../patches/001-add-send-ussd.patch | 4 ++-- .../050-add-E1752-to-seven_bit_modems.patch | 19 ++++++++++++++++++ .../patches/051-bump-package-revision.patch | 20 +++++++++++++++++++ .../100-fix-audio-on-big-endian-systems.patch | 6 ++---- 5 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 net/asterisk-11.x-chan-dongle/patches/050-add-E1752-to-seven_bit_modems.patch create mode 100644 net/asterisk-11.x-chan-dongle/patches/051-bump-package-revision.patch diff --git a/net/asterisk-11.x-chan-dongle/Makefile b/net/asterisk-11.x-chan-dongle/Makefile index c00711e..9fb409d 100644 --- a/net/asterisk-11.x-chan-dongle/Makefile +++ b/net/asterisk-11.x-chan-dongle/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=asterisk11-chan-dongle PKG_VERSION:=1.1r35 PKG_REV:=28a46567a88cebdc365db6f294e682246fd2dd7b -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE_SUBDIR:=asterisk11-chan-dongle-$(PKG_VERSION) PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz diff --git a/net/asterisk-11.x-chan-dongle/patches/001-add-send-ussd.patch b/net/asterisk-11.x-chan-dongle/patches/001-add-send-ussd.patch index 4ea41b1..bc59bf9 100644 --- a/net/asterisk-11.x-chan-dongle/patches/001-add-send-ussd.patch +++ b/net/asterisk-11.x-chan-dongle/patches/001-add-send-ussd.patch @@ -1,6 +1,6 @@ --- a/app.c +++ b/app.c -@@ -114,7 +114,44 @@ +@@ -114,7 +114,44 @@ static int app_send_sms_exec (attribute_ return !status; } @@ -45,7 +45,7 @@ static const struct dongle_application { -@@ -144,7 +181,15 @@ +@@ -144,7 +181,15 @@ static const struct dongle_application " Message - text of the message\n" " Validity - Validity period in minutes\n" " Report - Boolean flag for report request\n" diff --git a/net/asterisk-11.x-chan-dongle/patches/050-add-E1752-to-seven_bit_modems.patch b/net/asterisk-11.x-chan-dongle/patches/050-add-E1752-to-seven_bit_modems.patch new file mode 100644 index 0000000..a2c490c --- /dev/null +++ b/net/asterisk-11.x-chan-dongle/patches/050-add-E1752-to-seven_bit_modems.patch @@ -0,0 +1,19 @@ +From da5cd41e8554eaf1133f85282c253da2c74ff7eb Mon Sep 17 00:00:00 2001 +From: "bg_one@mail.ru" +Date: Fri, 6 Sep 2013 19:37:05 +0000 +Subject: [PATCH] added E1752 to seven_bit_modems + +--- + at_response.c | 1 + + 1 files changed, 1 insertions(+), 0 deletion(-) + +--- a/at_response.c ++++ b/at_response.c +@@ -1590,6 +1590,7 @@ static int at_response_cgmm (struct pvt* + "E171", + "E153", + "E156B", ++ "E1752", + }; + + ast_copy_string (pvt->model, str, sizeof (pvt->model)); diff --git a/net/asterisk-11.x-chan-dongle/patches/051-bump-package-revision.patch b/net/asterisk-11.x-chan-dongle/patches/051-bump-package-revision.patch new file mode 100644 index 0000000..3d85dd6 --- /dev/null +++ b/net/asterisk-11.x-chan-dongle/patches/051-bump-package-revision.patch @@ -0,0 +1,20 @@ +From da5cd41e8554eaf1133f85282c253da2c74ff7eb Mon Sep 17 00:00:00 2001 +From: "bg_one@mail.ru" +Date: Fri, 6 Sep 2013 19:37:05 +0000 +Subject: [PATCH] added E1752 to seven_bit_modems + +--- + configure.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +--- a/configure.in ++++ b/configure.in +@@ -2,7 +2,7 @@ dnl init + dnl AC_REVISION($Revision: 1.30 $) + AC_PREREQ([2.60]) + AC_INIT([chan_dongle],[1.1],[http://code.google.com/p/asterisk-chan-dongle/issues/list],[chan_dongle],[http://code.google.com/p/asterisk-chan-dongle]) +-PACKAGE_REVISION="34" ++PACKAGE_REVISION="35" + AC_CANONICAL_TARGET + AM_INIT_AUTOMAKE + AC_CONFIG_HEADERS([config.h]) diff --git a/net/asterisk-11.x-chan-dongle/patches/100-fix-audio-on-big-endian-systems.patch b/net/asterisk-11.x-chan-dongle/patches/100-fix-audio-on-big-endian-systems.patch index 3fc546d..a6b1c07 100644 --- a/net/asterisk-11.x-chan-dongle/patches/100-fix-audio-on-big-endian-systems.patch +++ b/net/asterisk-11.x-chan-dongle/patches/100-fix-audio-on-big-endian-systems.patch @@ -1,7 +1,5 @@ -Index: asterisk11-chan-dongle-1.1r35/channel.c -=================================================================== ---- asterisk11-chan-dongle-1.1r35.orig/channel.c -+++ asterisk11-chan-dongle-1.1r35/channel.c +--- a/channel.c ++++ b/channel.c @@ -495,6 +495,19 @@ again: } } -- 2.30.2