termux-packages/packages/calcurse/notify.c.patch

9 lines
324 B
Diff

--- ../../cache/calcurse-4.1.0/src/notify.c 2016-03-27 12:26:18.000000000 +0200
+++ ./src/notify.c 2016-05-09 00:01:31.495324279 +0200
@@ -193,4 +193,3 @@ void notify_stop_main_thread(void)
if (notify_t_main) {
- pthread_cancel(notify_t_main);
- pthread_join(notify_t_main, NULL);
+ pthread_kill(notify_t_main, 0);
}