diff --git a/net/rtpengine/patches/04-prevent-systemd-detection.patch b/net/rtpengine/patches/100-prevent-systemd-detection.patch similarity index 100% rename from net/rtpengine/patches/04-prevent-systemd-detection.patch rename to net/rtpengine/patches/100-prevent-systemd-detection.patch diff --git a/net/rtpengine/patches/05-use-spandsp3.patch b/net/rtpengine/patches/101-use-spandsp3.patch similarity index 100% rename from net/rtpengine/patches/05-use-spandsp3.patch rename to net/rtpengine/patches/101-use-spandsp3.patch diff --git a/net/rtpengine/patches/07-always-dynamically-allocate-buffer-for-kernel-mod.patch b/net/rtpengine/patches/102-always-dynamically-allocate-buffer-for-kernel-mod.patch similarity index 100% rename from net/rtpengine/patches/07-always-dynamically-allocate-buffer-for-kernel-mod.patch rename to net/rtpengine/patches/102-always-dynamically-allocate-buffer-for-kernel-mod.patch diff --git a/net/rtpengine/patches/08-no-docs.patch b/net/rtpengine/patches/103-no-docs.patch similarity index 100% rename from net/rtpengine/patches/08-no-docs.patch rename to net/rtpengine/patches/103-no-docs.patch diff --git a/net/rtpengine/patches/104-daemon-poller-fix-compilation-error-for-pthread-tid.patch b/net/rtpengine/patches/104-daemon-poller-fix-compilation-error-for-pthread-tid.patch new file mode 100644 index 0000000..7f1e4e5 --- /dev/null +++ b/net/rtpengine/patches/104-daemon-poller-fix-compilation-error-for-pthread-tid.patch @@ -0,0 +1,31 @@ +From 77e2cd4b250e806701081a8b262aa0a804423659 Mon Sep 17 00:00:00 2001 +From: Christian Marangi +Date: Fri, 21 Nov 2025 15:39:53 +0100 +Subject: [PATCH] daemon: poller: fix compilation error for pthread tid + +Fix compilation error for pthread tid wrong init. + +poller.c: In function 'poller_map_add': +poller.c:54:18: error: initialization of 'pthread_t' {aka 'struct __pthread *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] + 54 | + | + +Setting to -1 is wrong and actually not useful as it gets set right +after if map is not NULL. + +Signed-off-by: Christian Marangi +--- + lib/poller.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/lib/poller.c ++++ b/lib/poller.c +@@ -51,7 +51,7 @@ struct poller_map *poller_map_new(void) + } + + static void poller_map_add(struct poller_map *map) { +- pthread_t tid = -1; ++ pthread_t tid; + struct poller *p; + if (!map) + return;