termux-packages/packages/calcurse/ui-calendar.c.patch

9 lines
359 B
Diff

--- ../../cache/calcurse-4.1.0/src/ui-calendar.c 2016-03-27 12:26:18.000000000 +0200
+++ ./src/ui-calendar.c 2016-05-09 00:01:52.327536161 +0200
@@ -145,4 +145,3 @@ void ui_calendar_stop_date_thread(void)
if (ui_calendar_t_date) {
- pthread_cancel(ui_calendar_t_date);
- pthread_join(ui_calendar_t_date, NULL);
+ pthread_kill(ui_calendar_t_date, 0);
}