diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-01-01 19:12:04 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-01-01 19:12:15 +0100 |
commit | 95708ebf53cd9d24a8ad11f6ccea6fca8818fafc (patch) | |
tree | 90b7e8511d68aee4a72304ad03171ce82938bdfd /sys-fs/lde/files/lde-2.6.1-tinfo.patch | |
parent | sys-block/tgt: Remove old (diff) | |
download | gentoo-95708ebf53cd9d24a8ad11f6ccea6fca8818fafc.tar.gz gentoo-95708ebf53cd9d24a8ad11f6ccea6fca8818fafc.tar.bz2 gentoo-95708ebf53cd9d24a8ad11f6ccea6fca8818fafc.zip |
sys-fs/lde: fix ncurses[tinfo], fix -fno-common, EAPI 7
Closes: https://bugs.gentoo.org/692966
Closes: https://bugs.gentoo.org/692966
Closes: https://bugs.gentoo.org/690512
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'sys-fs/lde/files/lde-2.6.1-tinfo.patch')
-rw-r--r-- | sys-fs/lde/files/lde-2.6.1-tinfo.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-fs/lde/files/lde-2.6.1-tinfo.patch b/sys-fs/lde/files/lde-2.6.1-tinfo.patch new file mode 100644 index 000000000000..bb4c6c2386c4 --- /dev/null +++ b/sys-fs/lde/files/lde-2.6.1-tinfo.patch @@ -0,0 +1,22 @@ +--- a/macros/configure.in ++++ b/macros/configure.in +@@ -14,7 +14,6 @@ AC_SUBST(STATIC_LDFLAGS) + AC_DEFINE(_GNU_SOURCE) + + dnl Must use builtin() as it is overridden by some AC_ macros +-builtin(include,./curses.m4) + builtin(include,./misctests.m4) + + dnl Search for ncurses by default +@@ -187,7 +186,10 @@ AC_ARG_WITH(gpm, + dnl ------------------------------------------------------------------ + dnl Search for some version of curses + dnl ------------------------------------------------------------------ +-AC_CHECK_CURSES ++has_curses=false ++AC_SUBST(CURSES_INCLUDEDIR) ++AC_SUBST(CURSES_LIBS) ++PKG_CHECK_MODULES(ncurses, ncurses, [CURSES_LIBS="$ncurses_LIBS" CURSES_INCLUDEDIR="$ncurses_CFLAGS" has_curses=true]) + if test "$has_curses" = true + then + AC_DEFINE(LDE_CURSES) |