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
--- 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])
--- /dev/null
+--- 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
+