diff --git a/net/asterisk-chan-dongle/Makefile b/net/asterisk-chan-dongle/Makefile index 2ccd4771..0f41d457 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 1dea4b49..981ab990 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 00000000..0b76ad34 --- /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 +