Fredrik Fornwall
9 years ago
4 changed files with 33 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||||
|
TERMUX_PKG_HOMEPAGE=http://calcurse.org/ |
||||
|
TERMUX_PKG_DESCRIPTION="calcurse is a calendar and scheduling application for the command line" |
||||
|
TERMUX_PKG_VERSION=4.1.0 |
||||
|
TERMUX_PKG_SRCURL=http://calcurse.org/files/calcurse-${TERMUX_PKG_VERSION}.tar.gz |
||||
|
TERMUX_PKG_DEPENDS="ncurses" |
||||
|
|
||||
|
termux_step_pre_configure() { |
||||
|
export ac_cv_lib_pthread_pthread_create=yes |
||||
|
} |
@ -0,0 +1,8 @@ |
|||||
|
--- ../../cache/calcurse-4.1.0/src/io.c 2016-03-27 12:26:18.000000000 +0200
|
||||
|
+++ ./src/io.c 2016-05-09 00:00:16.402558225 +0200
|
||||
|
@@ -1430,4 +1430,3 @@ void io_stop_psave_thread(void)
|
||||
|
io_save_mutex_lock(); |
||||
|
- pthread_cancel(io_t_psave);
|
||||
|
- pthread_join(io_t_psave, NULL);
|
||||
|
+ pthread_kill(io_t_psave, 0);
|
||||
|
io_save_mutex_unlock(); |
@ -0,0 +1,8 @@ |
|||||
|
--- ../../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);
|
||||
|
} |
@ -0,0 +1,8 @@ |
|||||
|
--- ../../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);
|
||||
|
} |
Loading…
Reference in new issue