diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-10-16 21:39:10 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-10-16 21:39:50 +0200 |
commit | ce7bd659f16863e234001244e3904c145644e49f (patch) | |
tree | 981ac587b4d3c2bee632fc22e0ce0a0cb8705bc1 /app-editors/fe/files | |
parent | media-sound/xmms2: Fix Pod-Parser dependency (diff) | |
download | gentoo-ce7bd659f16863e234001244e3904c145644e49f.tar.gz gentoo-ce7bd659f16863e234001244e3904c145644e49f.tar.bz2 gentoo-ce7bd659f16863e234001244e3904c145644e49f.zip |
app-editors/fe: Fix segmentation fault in ncurses lib
Bug: https://bugs.gentoo.org/818415
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/fe/files')
-rw-r--r-- | app-editors/fe/files/fe-2.0-ncurses.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-editors/fe/files/fe-2.0-ncurses.patch b/app-editors/fe/files/fe-2.0-ncurses.patch new file mode 100644 index 000000000000..8eef06db6454 --- /dev/null +++ b/app-editors/fe/files/fe-2.0-ncurses.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/818415 + +--- fe-2.0/configure.ac ++++ fe-2.0/configure.ac +@@ -55,19 +55,6 @@ + AC_CHECK_FUNCS(strdup) + AC_CHECK_FUNCS(strndup) + +-AC_CHECK_LIB(ncursesw, get_wch, [have_utf8_ncurses=yes; LIBS="-lncursesw $LIBS"]) +-if test "$have_utf8_ncurses" = yes +-then +- AC_DEFINE(HAVE_UTF8_NCURSES) +- AC_CHECK_HEADERS(ncurses/ncurses.h,have_ncurses_ncurses_h=yes) +- if test "$have_ncurses_ncurses_h" != yes +- then +- AC_CHECK_HEADERS(ncurses.h,have_ncurses_h=yes) +- fi +-fi +- +-if test "$have_utf8_ncurses" != yes +-then + AC_CHECK_LIB(ncurses, get_wch, [have_utf8_ncurses=yes; LIBS="-lncurses $LIBS"]) + if test "$have_utf8_ncurses" = yes + then +@@ -78,7 +65,6 @@ + AC_CHECK_HEADERS(ncurses.h,have_ncurses_h=yes) + fi + fi +-fi + + if test "$have_utf8_ncurses" != yes + then |