aports/main/slang/terminfo-in-etc.patch
TBK 2f8d18865e main/slang: fix detection of terminfo
ncurses-dev depends recursively on ncurses-terminfo-base, which has terminfo files in /etc/terminfo.

But slang only looks for terminfo files in /usr/{lib,share}/terminfo.
When that's not found, it determins it must link against termcap (adds `-ltermcap` to linker flags), which cannot be found and breaks the build.

Patch configure to look for terminfo in /etc/terminfo  to fix the build.
2020-04-30 00:09:31 +00:00

16 lines
470 B
Diff

Upstream: no
Reason: ncurses-terminfo-base puts terminfo in /etc, which is not inspected.
When terminfo is not found, it tries link against termcap, which is also not
present
Url: n/a
--- a/configure
+++ b/configure
@@ -7021,6 +7021,7 @@
MISC_TERMINFO_DIRS=""
fi
JD_Terminfo_Dirs="$MISC_TERMINFO_DIRS \
+ /etc/terminfo \
/usr/lib/terminfo \
/usr/share/terminfo \
/usr/share/lib/terminfo \