[genius] add patch from gentoo to fix ncurses
- From: Jiri (George) Lebl <jirka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius] add patch from gentoo to fix ncurses
- Date: Sun, 16 Feb 2020 17:00:44 +0000 (UTC)
commit 0df0e9d1cb96d126285fb5cd54370a045c9d1f61
Author: Jiri (George) Lebl <jiri lebl gmail com>
Date: Sun Feb 16 11:00:02 2020 -0600
add patch from gentoo to fix ncurses
ChangeLog | 5 +++++
configure.ac | 6 ++++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4f6617bf..5d3de4b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Feb 16 10:59:55 2020 Jiri (George) Lebl <jirka 5z com>
+
+ * configure.ac: Add patch to fix ncurses check
+
https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-mathematics/genius/files/genius-1.0.23-tinfo.patch
+
Mon Dec 09 09:21:55 2019 Jiri (George) Lebl <jirka 5z com>
* compil.c: Fix encoding empty string, affected functions are
diff --git a/configure.ac b/configure.ac
index f85bdbad..15f7d696 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,8 @@ AM_MAINTAINER_MODE
AC_PROG_INTLTOOL([0.21])
+PKG_PROG_PKG_CONFIG
+
dnl ================= Requirements ================================================
GTK_REQUIRED=2.20.0
@@ -64,8 +66,8 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
dnl Check for termcap
AC_CHECK_LIB(termcap, tgetent,[TERMCAP_LIB="-ltermcap"],
- [AC_CHECK_LIB(ncurses, tgetent,
- [TERMCAP_LIB="-lncurses"
+ [PKG_CHECK_MODULES(NCURSES, ncurses,
+ [TERMCAP_LIB="$NCURSES_LIBS"
AC_DEFINE(USE_NCURSES,[1], [Use ncurses library])
AC_CHECK_HEADER(ncurses/curses.h, [
AC_DEFINE(INC_NCURSES,[1],[ncurses include])])], [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]