asterisk-chan-dongle: bump to latest git 848/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Tue, 26 Dec 2023 13:21:58 +0000 (14:21 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Tue, 26 Dec 2023 13:22:02 +0000 (14:22 +0100)
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>
net/asterisk-chan-dongle/Makefile
net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch
net/asterisk-chan-dongle/patches/400-time_t.patch [new file with mode: 0644]

index 2ccd4771c2233a7065b44851780235e2ddc20de8..0f41d457d8a4ec444489803ca212ee923644bbef 100644 (file)
@@ -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
 
index 1dea4b492f9f4b3fbe645b7f12e8a7ad7380cb5f..981ab9904a0e84cbd052db246c24339972cc6d2c 100644 (file)
@@ -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 (file)
index 0000000..0b76ad3
--- /dev/null
@@ -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