Skip to content

Commit

Permalink
asterisk-chan-dongle: bump to latest git
Browse files Browse the repository at this point in the history
Closes: #837

The extra patch was submitted upstream for inclusion, see [1].

[1] wdoekes/asterisk-chan-dongle#173

Signed-off-by: Sebastian Kemper <[email protected]>
  • Loading branch information
micmac1 committed Dec 26, 2023
1 parent ca2a412 commit 411b6fb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
8 changes: 4 additions & 4 deletions net/asterisk-chan-dongle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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])
Expand Down
16 changes: 16 additions & 0 deletions net/asterisk-chan-dongle/patches/400-time_t.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 411b6fb

Please sign in to comment.