Skip to content
Snippets Groups Projects
Commit 4a5c3ec3 authored by Пётр's avatar Пётр Committed by Gleb Popov
Browse files

devel/efl: Fix build on 14-CURRENT.

Reported by:	pkg-fallout
Tested by:	arrowd
parent 945cff6a
No related branches found
No related tags found
No related merge requests found
PORTNAME= efl
DISTVERSION= 1.26.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel enlightenment
MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/
DIST_SUBDIR= enlightenment
......
--- src/lib/eina/eina_debug_bt.c.orig
+++ src/lib/eina/eina_debug_bt.c
@@ -293,12 +293,14 @@ _signal_shutdown(void)
}
static void
-_collect_bt(pthread_t pth)
+_collect_bt(Eina_Thread th)
{
// this async signals the thread to switch to the deebug signal handler
// and collect a backtrace and other info from inside the thread
#ifndef _WIN32
- pthread_kill(pth, SIG);
+ pthread_kill((pthread_t)th, SIG); // we can cast Eina_Thread -> pthread_t
+#else
+ (th); // silenmce unused warn
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment