diff --git a/package/libstrophe/0001-fix-ssize_t.patch b/package/libstrophe/0001-fix-ssize_t.patch deleted file mode 100644 index 39b456de57..0000000000 --- a/package/libstrophe/0001-fix-ssize_t.patch +++ /dev/null @@ -1,49 +0,0 @@ -From f31ef9c35c9bba831510777d551c4179295b208f Mon Sep 17 00:00:00 2001 -From: Michael Vetter -Date: Mon, 30 May 2022 14:47:44 +0200 -Subject: [PATCH] Include sys/types.h for ssize_t -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -When compiling on buildroot I get: -`src/tls.c:235:28: error: ‘ssize_t’ undeclared (first use in this -function); did you mean ‘size_t’? ` - -To have this POSIX type available we will need to include -`sys/types.h` on Linux. Unsure about other systems. - -Upstream: https://github.com/strophe/libstrophe/pull/207 -Signed-off-by: Michael Vetter ---- - src/rand.c | 1 + - src/tls.c | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/src/rand.c b/src/rand.c -index 061e85ee..25e4614a 100644 ---- a/src/rand.c -+++ b/src/rand.c -@@ -28,6 +28,7 @@ - #if __GLIBC_PREREQ(2, 25) - #define USE_GETRANDOM - #include -+#include - #include - #endif - #endif -diff --git a/src/tls.c b/src/tls.c -index 17d85dda..54746baa 100644 ---- a/src/tls.c -+++ b/src/tls.c -@@ -21,6 +21,10 @@ - #include - #include - -+#if defined(__linux__) -+#include -+#endif -+ - #include "strophe.h" - - #include "common.h" diff --git a/package/libstrophe/libstrophe.hash b/package/libstrophe/libstrophe.hash index 66ff0e7e7e..fa9148ed0f 100644 --- a/package/libstrophe/libstrophe.hash +++ b/package/libstrophe/libstrophe.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 8e44acb26018816f9856626bd5ff924a36cc612d2b3747ee634d626326b72df7 libstrophe-0.12.0.tar.xz +sha256 5da0a4e12e383393614376f8b47f8b91703c8fc5a564aacfc9db6b98d6a6a9bf libstrophe-0.12.1.tar.xz sha256 82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08 MIT-LICENSE.txt sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-LICENSE.txt diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk index f48d073770..ce99c9fe48 100644 --- a/package/libstrophe/libstrophe.mk +++ b/package/libstrophe/libstrophe.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSTROPHE_VERSION = 0.12.0 +LIBSTROPHE_VERSION = 0.12.1 LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION) LIBSTROPHE_DEPENDENCIES = host-pkgconf