summaryrefslogtreecommitdiff
path: root/net/asterisk-chan-dongle/patches/400-time_t.patch
diff options
context:
space:
mode:
authormicmac1 <sebastian_ml@gmx.net>2023-12-29 09:14:35 +0100
committerGitHub <noreply@github.com>2023-12-29 09:14:35 +0100
commit3d1eac3ca7300bd1e8186d58053b0ff1a87bde6e (patch)
treeab2e9b4616c8f5edc89e90b90c01cbc9f10cf06a /net/asterisk-chan-dongle/patches/400-time_t.patch
parentca2a412d6a992055e4a4f75175919fc6708471c0 (diff)
parent411b6fb1d7f48cfa59a9cd8e8aa3860cbf009a03 (diff)
Merge pull request #848 from micmac1/dongle-2022
asterisk-chan-dongle: bump to latest git
Diffstat (limited to 'net/asterisk-chan-dongle/patches/400-time_t.patch')
-rw-r--r--net/asterisk-chan-dongle/patches/400-time_t.patch16
1 files changed, 16 insertions, 0 deletions
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
+