From 9d8b785e5308e9d4dfcc41a835289b2b3d807680 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sun, 13 Apr 2025 10:14:34 -0700 Subject: [PATCH] efl: fix building with gcc14 and musl --- srcpkgs/efl/patches/musl.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/efl/patches/musl.patch diff --git a/srcpkgs/efl/patches/musl.patch b/srcpkgs/efl/patches/musl.patch new file mode 100644 index 00000000000..90cc8eacfb7 --- /dev/null +++ b/srcpkgs/efl/patches/musl.patch @@ -0,0 +1,14 @@ +Fix -Wint-conversion with gcc14 and musl, Eina_Thread is defined as uintptr_t + +diff -rup src/lib/eina/eina_debug_bt.c.orig src/lib/eina/eina_debug_bt.c +--- a/src/lib/eina/eina_debug_bt.c ++++ b/src/lib/eina/eina_debug_bt.c +@@ -339,7 +339,7 @@ _trace_cb(void *data EINA_UNUSED) + ((_eina_debug_thread_active_num) * sizeof(int)); + // now collect per thread + for (i = 0; i < _eina_debug_thread_active_num; i++) +- _collect_bt(_eina_debug_thread_active[i].thread); ++ _collect_bt((pthread_t)_eina_debug_thread_active[i].thread); + // we're done probing. now collec all the "i'm done" msgs on the + // semaphore for every thread + mainloop + for (i = 0; i < (_eina_debug_thread_active_num); i++)