From b659c3c859e2932b230a4e51e29b86f3030b1c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 17 Feb 2021 12:26:16 +0100 Subject: [PATCH] pidgin-sipe: fix for musl-1.2.2 (time64) --- srcpkgs/pidgin-sipe/patches/time64.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/pidgin-sipe/patches/time64.patch diff --git a/srcpkgs/pidgin-sipe/patches/time64.patch b/srcpkgs/pidgin-sipe/patches/time64.patch new file mode 100644 index 00000000000..e4397c65d92 --- /dev/null +++ b/srcpkgs/pidgin-sipe/patches/time64.patch @@ -0,0 +1,22 @@ +--- src/core/sipe-utils.c 2019-10-11 17:28:48.000000000 +0200 ++++ src/core/sipe-utils.c 2021-02-17 12:21:58.906079796 +0100 +@@ -25,6 +25,8 @@ + #include + #include + #include ++#include ++#include + + #include + +@@ -414,8 +415,8 @@ + if (result) + return(result); + +- SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lu to ISO8601 string", +- timestamp); ++ SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %" PRIu64 " to ISO8601 string", ++ (uint64_t) timestamp); + return(g_strdup("")); + } +