Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
calcurse-4.3.0
- Loading branch information
Showing
4 changed files
with
56 additions
and
57 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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,39 @@ | ||
--- origsrc/calcurse-4.3.0/configure.ac 2017-10-26 14:59:58.000000000 +0900 | ||
+++ src/calcurse-4.3.0/configure.ac 2017-11-17 15:15:32.078000000 +0900 | ||
@@ -3,7 +3,7 @@ | ||
#------------------------------------------------------------------------------- | ||
AC_PREREQ(2.59) | ||
AC_INIT([calcurse], | ||
- m4_esyscmd([build-aux/git-version-gen .version]), | ||
+ [4.3.0], | ||
[bugs@calcurse.org]) | ||
AM_INIT_AUTOMAKE | ||
#m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) | ||
@@ -51,6 +51,8 @@ AC_CHECK_FUNC(initscr,, | ||
LIBS="$LIBS -l$available_ncurses" | ||
]) | ||
|
||
+if test "$host_os" != "cygwin" | ||
+then | ||
AC_CHECK_HEADERS([pthread.h], [ | ||
AC_CHECK_LIB(pthread, pthread_create, [ | ||
LIBS="$LIBS -pthread" | ||
@@ -59,6 +61,7 @@ AC_CHECK_HEADERS([pthread.h], [ | ||
], | ||
AC_MSG_ERROR(The pthread library is required in order to build calcurse!)) | ||
], AC_MSG_ERROR(The pthread header is required in order to build calcurse!)) | ||
+fi | ||
|
||
AC_CHECK_HEADERS([math.h], [ | ||
AC_CHECK_LIB(m, exp, [ | ||
--- origsrc/calcurse-4.3.0/test/run-test.c 2017-08-12 22:40:37.000000000 +0900 | ||
+++ src/calcurse-4.3.0/test/run-test.c 2017-11-17 15:15:18.625175400 +0900 | ||
@@ -146,7 +146,7 @@ static int run_test(const char *name, in | ||
char buf1[BUFSIZ], buf2[BUFSIZ]; | ||
int ret = 1; | ||
|
||
- if (snprintf(filename, BUFSIZ, "./%s", name) >= BUFSIZ) | ||
+ if (snprintf(filename, BUFSIZ, "%s", name) >= BUFSIZ) | ||
die("file name too long\n"); | ||
|
||
if (access(filename, F_OK) != 0) { |