summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-04-19 08:40:01 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-04-19 08:40:01 +0000
commit4242371609a4f3147b1a60cc58ea53b6dbdf8109 (patch)
tree3ba82cd631d605150cb8a8bd881060453f33e818 /app-office/calcurse/files/calcurse-4.1.0-tinfo.patch
parentapp-text/html-xml-utils: Version bump. (diff)
downloadgentoo-4242371609a4f3147b1a60cc58ea53b6dbdf8109.tar.gz
gentoo-4242371609a4f3147b1a60cc58ea53b6dbdf8109.tar.bz2
gentoo-4242371609a4f3147b1a60cc58ea53b6dbdf8109.zip
app-office/calcurse: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-office/calcurse/files/calcurse-4.1.0-tinfo.patch')
-rw-r--r--app-office/calcurse/files/calcurse-4.1.0-tinfo.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-office/calcurse/files/calcurse-4.1.0-tinfo.patch b/app-office/calcurse/files/calcurse-4.1.0-tinfo.patch
new file mode 100644
index 000000000000..f3d2aac897e9
--- /dev/null
+++ b/app-office/calcurse/files/calcurse-4.1.0-tinfo.patch
@@ -0,0 +1,21 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@
+ #-------------------------------------------------------------------------------
+ AC_PREREQ(2.59)
+ AC_INIT([calcurse],
+- m4_esyscmd([build-aux/git-version-gen .version]),
++ m4_esyscmd_s([cat .version]),
+ [bugs@calcurse.org])
+ AM_INIT_AUTOMAKE
+ #m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+@@ -51,6 +51,9 @@
+ LIBS="$LIBS -l$available_ncurses"
+ ])
+
++AC_SEARCH_LIBS([cbreak], [tinfow tinfo],,
++ AC_MSG_ERROR([Cannot find a library providing cbreak]))
++
+ AC_CHECK_HEADERS([pthread.h], [
+ AC_CHECK_LIB(pthread, pthread_create, [
+ LIBS="$LIBS -pthread"