summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2023-12-26 14:21:58 +0100
committerSebastian Kemper <sebastian_ml@gmx.net>2023-12-26 14:22:02 +0100
commit411b6fb1d7f48cfa59a9cd8e8aa3860cbf009a03 (patch)
treeab2e9b4616c8f5edc89e90b90c01cbc9f10cf06a
parentca2a412d6a992055e4a4f75175919fc6708471c0 (diff)
asterisk-chan-dongle: bump to latest git
Closes: #837 The extra patch was submitted upstream for inclusion, see [1]. [1] https://github.com/wdoekes/asterisk-chan-dongle/pull/173 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-rw-r--r--net/asterisk-chan-dongle/Makefile8
-rw-r--r--net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch2
-rw-r--r--net/asterisk-chan-dongle/patches/400-time_t.patch16
3 files changed, 21 insertions, 5 deletions
diff --git a/net/asterisk-chan-dongle/Makefile b/net/asterisk-chan-dongle/Makefile
index 2ccd477..0f41d45 100644
--- a/net/asterisk-chan-dongle/Makefile
+++ b/net/asterisk-chan-dongle/Makefile
@@ -11,10 +11,10 @@ PKG_NAME:=asterisk-chan-dongle
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/wdoekes/asterisk-chan-dongle.git
-PKG_SOURCE_VERSION:=3d046f7d6842298c6838b5ce5b51d495d383b158
-PKG_SOURCE_DATE=2021-10-06
-PKG_RELEASE:=2
-PKG_MIRROR_HASH:=d485c89a7230ab8c318eed6c3a954b154d7e53cc7a0194abf96f4dcb83e6909c
+PKG_SOURCE_VERSION:=503dba87d726854b74b49e70679e64e6e86d5812
+PKG_SOURCE_DATE=2022-11-04
+PKG_RELEASE:=1
+PKG_MIRROR_HASH:=0d585c108ec18d136ce03704b96d0a6769e617c820fc74f735e3e192ad282611
PKG_FIXUP:=autoreconf
diff --git a/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch b/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch
index 1dea4b4..981ab99 100644
--- a/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch
+++ b/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch
@@ -1,6 +1,6 @@
--- a/configure.ac
+++ b/configure.ac
-@@ -237,8 +237,6 @@ dnl Apply options to defines
+@@ -247,8 +247,6 @@ dnl Apply options to defines
if test "x$enable_debug" = "xyes" ; then
CFLAGS="$CFLAGS -O0 -g3"
AC_DEFINE([__DEBUG__], [1], [Build with debugging])
diff --git a/net/asterisk-chan-dongle/patches/400-time_t.patch b/net/asterisk-chan-dongle/patches/400-time_t.patch
new file mode 100644
index 0000000..0b76ad3
--- /dev/null
+++ b/net/asterisk-chan-dongle/patches/400-time_t.patch
@@ -0,0 +1,16 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -165,11 +165,13 @@ dnl AC_CHECK_TYPE(uint64_t, unsigned lon
+
+ AC_CHECK_SIZEOF(int)
+ AC_CHECK_SIZEOF(long int)
++AC_CHECK_SIZEOF(long long int)
+ AC_CHECK_SIZEOF(time_t)
+ case "$ac_cv_sizeof_time_t" in
+ ''|0) AC_MSG_ERROR([Could not find time_t type]);;
+ $ac_cv_sizeof_int) AC_DEFINE([PRI_time_t], ["d"], [printf format for time_t]);;
+ $ac_cv_sizeof_long_int) AC_DEFINE([PRI_time_t], ["ld"], [printf format for time_t]);;
++$ac_cv_sizeof_long_long_int) AC_DEFINE([PRI_time_t], ["lld"], [printf format for time_t]);;
+ *) AC_MSG_ERROR([Could not find match size of time_t to printf format])
+ esac
+