utf8proc: Add package
[termux-packages] / disabled-packages / cups / cups-thread.c.patch
1 --- ./cups/thread.c 2017-06-30 21:14:38.000000000 +0530
2 +++ ../thread.c 2017-09-24 10:12:11.169628258 +0530
3 @@ -18,6 +18,7 @@
4
5 #include "cups-private.h"
6 #include "thread-private.h"
7 +#include <signal.h>
8
9
10 #if defined(HAVE_PTHREAD_H)
11 @@ -150,7 +151,7 @@
12 void
13 _cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */
14 {
15 - pthread_cancel(thread);
16 + pthread_kill(thread, SIGTERM);
17 }
18
19