diff options
author | Mats Lidell <matsl@gentoo.org> | 2017-04-17 22:07:36 +0200 |
---|---|---|
committer | Mats Lidell <matsl@gentoo.org> | 2017-04-17 22:08:08 +0200 |
commit | 1d26ca1814811aca0463644dc3ebe920470a9357 (patch) | |
tree | 625ba7e5faff274dc16ab740eb8de74b2b6aa108 /app-editors/xemacs | |
parent | dev-tex/feynmf: Create relative rather than absolute symlinks in doc dir. (diff) | |
download | gentoo-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')
-rw-r--r-- | app-editors/xemacs/files/xemacs-21.4.24-ncurses-tinfo.patch | 12 | ||||
-rw-r--r-- | app-editors/xemacs/xemacs-21.4.24-r1.ebuild | 2 | ||||
-rw-r--r-- | app-editors/xemacs/xemacs-21.4.24.ebuild | 4 |
3 files changed, 17 insertions, 1 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. diff --git a/app-editors/xemacs/xemacs-21.4.24-r1.ebuild b/app-editors/xemacs/xemacs-21.4.24-r1.ebuild index e9e6f8a04e28..9f1e61beeecb 100644 --- a/app-editors/xemacs/xemacs-21.4.24-r1.ebuild +++ b/app-editors/xemacs/xemacs-21.4.24-r1.ebuild @@ -64,6 +64,8 @@ src_prepare() { # see bug 576512 epatch "${FILESDIR}"/xemacs-21.4.24-gcc5.patch epatch "${FILESDIR}"/xemacs-21.4.24-glibc-macro.patch + # see bug 615544 + epatch "${FILESDIR}"/xemacs-21.4.24-ncurses-tinfo.patch # Some binaries and man pages are installed under suffixed names # to avoid collions with their GNU Emacs counterparts (see below). diff --git a/app-editors/xemacs/xemacs-21.4.24.ebuild b/app-editors/xemacs/xemacs-21.4.24.ebuild index 9305b8ed2eb2..6f9245c0ea78 100644 --- a/app-editors/xemacs/xemacs-21.4.24.ebuild +++ b/app-editors/xemacs/xemacs-21.4.24.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Note: xemacs currently does not work with a hardened profile. If you @@ -63,6 +63,8 @@ src_prepare() { epatch "${FILESDIR}"/xemacs-21.4.19-db.patch # see bug 576512 epatch "${FILESDIR}"/xemacs-21.4.24-gcc5.patch + # see bug 615544 + epatch "${FILESDIR}"/xemacs-21.4.24-ncurses-tinfo.patch # Some binaries and man pages are installed under suffixed names # to avoid collions with their GNU Emacs counterparts (see below). |