summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats Lidell <matsl@gentoo.org>2017-04-17 22:07:36 +0200
committerMats Lidell <matsl@gentoo.org>2017-04-17 22:08:08 +0200
commit1d26ca1814811aca0463644dc3ebe920470a9357 (patch)
tree625ba7e5faff274dc16ab740eb8de74b2b6aa108 /app-editors/xemacs/files
parentdev-tex/feynmf: Create relative rather than absolute symlinks in doc dir. (diff)
downloadgentoo-1d26ca1814811aca0463644dc3ebe920470a9357.tar.gz
gentoo-1d26ca1814811aca0463644dc3ebe920470a9357.tar.bz2
gentoo-1d26ca1814811aca0463644dc3ebe920470a9357.zip
app-editors/xemacs: Build with ncurses using tinfo, bug #615544
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-editors/xemacs/files')
-rw-r--r--app-editors/xemacs/files/xemacs-21.4.24-ncurses-tinfo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-editors/xemacs/files/xemacs-21.4.24-ncurses-tinfo.patch b/app-editors/xemacs/files/xemacs-21.4.24-ncurses-tinfo.patch
new file mode 100644
index 000000000000..19b8984db2d0
--- /dev/null
+++ b/app-editors/xemacs/files/xemacs-21.4.24-ncurses-tinfo.patch
@@ -0,0 +1,12 @@
+diff -r e2da872593c0 configure.in
+--- a/configure.in Tue Mar 24 22:15:53 2015 -0400
++++ b/configure.in Mon Apr 17 10:13:05 2017 +0200
+@@ -4449,7 +4449,7 @@
+ AC_CHECK_HEADER(ncurses/curses.h, curses_h_file=ncurses/curses.h)
+ AC_CHECK_HEADER(ncurses/term.h, term_h_file=ncurses/term.h)
+ XE_ADD_OBJS(terminfo.o)
+- XE_PREPEND(-lncurses, LIBS)
++ XE_PREPEND($(pkg-config ncurses --libs), LIBS)
+
+ if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
+ dnl Try again, and check for the bogus ncurses/ include bug.