forked from termux/termux-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
} |