From: Fredrik Fornwall Date: Sun, 14 Aug 2016 21:11:16 +0000 (-0400) Subject: libgc: Revert back to needed tkill() patch X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/207d97f775e06fa060dfed5afa07f047cffb8681 libgc: Revert back to needed tkill() patch --- diff --git a/packages/libgc/pthread_stop_world.c.patch b/packages/libgc/pthread_stop_world.c.patch new file mode 100644 index 00000000..55ee7300 --- /dev/null +++ b/packages/libgc/pthread_stop_world.c.patch @@ -0,0 +1,12 @@ +diff -u -r ../gc-7.6.0/pthread_stop_world.c ./pthread_stop_world.c +--- ../gc-7.6.0/pthread_stop_world.c 2016-08-02 15:36:14.000000000 -0400 ++++ ./pthread_stop_world.c 2016-08-14 16:52:41.334806302 -0400 +@@ -365,7 +365,7 @@ + } + + # ifdef USE_TKILL_ON_ANDROID +- extern int tkill(pid_t tid, int sig); /* from sys/linux-unistd.h */ ++ static int tkill(pid_t tid, int sig) { return tgkill(-1, tid, sig); } + + static int android_thread_kill(pid_t tid, int sig) + {