summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé María Alonso <nimiux@gentoo.org>2014-11-26 16:15:34 +0000
committerJosé María Alonso <nimiux@gentoo.org>2014-11-26 16:15:34 +0000
commitc8f8c5a0eadcb2aafdbfa2868f137bd1a9ac5c4c (patch)
tree0c45109b185316a70d6acb37905cb40c5905b270 /app-misc/vifm
parentSupport python 3.4 (diff)
downloadgentoo-2-c8f8c5a0eadcb2aafdbfa2868f137bd1a9ac5c4c.tar.gz
gentoo-2-c8f8c5a0eadcb2aafdbfa2868f137bd1a9ac5c4c.tar.bz2
gentoo-2-c8f8c5a0eadcb2aafdbfa2868f137bd1a9ac5c4c.zip
Fix bug #527580. Thanks to jer
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key F253DB15)
Diffstat (limited to 'app-misc/vifm')
-rw-r--r--app-misc/vifm/ChangeLog6
-rw-r--r--app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch14
-rw-r--r--app-misc/vifm/vifm-0.7.8.ebuild18
3 files changed, 33 insertions, 5 deletions
diff --git a/app-misc/vifm/ChangeLog b/app-misc/vifm/ChangeLog
index 3fb818eda34d..2f37aa756611 100644
--- a/app-misc/vifm/ChangeLog
+++ b/app-misc/vifm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/vifm
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/ChangeLog,v 1.47 2014/11/26 15:29:13 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/ChangeLog,v 1.48 2014/11/26 16:15:34 nimiux Exp $
+
+ 26 Nov 2014; Chema Alonso <nimiux@gentoo.org> vifm-0.7.8.ebuild,
+ +files/vifm-0.7.8-fix-ncurses-tinfo.patch:
+ Fix bug #527580. Thanks to jer
26 Nov 2014; Chema Alonso <nimiux@gentoo.org> metadata.xml:
Update use flags
diff --git a/app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch b/app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch
new file mode 100644
index 000000000000..888acd41c318
--- /dev/null
+++ b/app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch
@@ -0,0 +1,14 @@
+diff -Nuar a/configure.ac b/configure.ac
+--- a/configure.ac 2014-10-25 17:09:35.000000000 +0200
++++ b/configure.ac 2014-11-26 16:42:50.229999426 +0100
+@@ -335,7 +335,9 @@
+ if test x$vifm_cv_curses = x/usr -a -d /usr/include/${curses_lib_name}; then
+ CPPFLAGS="$CPPFLAGS -I/usr/include/${curses_lib_name}"
+ fi
+- ncurses_found=yes])
++ ncurses_found=yes]
++ AC_SEARCH_LIBS([curs_set], [tinfo],,
++ AC_MSG_ERROR(could not find a library providing curs_set)))
+ dnl If libncursesw is not found on OS X, check for libncurses. On OS X it has
+ dnl support of wide characters.
+ if test -n "$OSX_HOST" -a "x$ncurses_found" != "xyes"; then
diff --git a/app-misc/vifm/vifm-0.7.8.ebuild b/app-misc/vifm/vifm-0.7.8.ebuild
index 6ba969401d1e..8f6409438471 100644
--- a/app-misc/vifm/vifm-0.7.8.ebuild
+++ b/app-misc/vifm/vifm-0.7.8.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/vifm-0.7.8.ebuild,v 1.1 2014/11/26 14:41:05 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/vifm-0.7.8.ebuild,v 1.2 2014/11/26 16:15:34 nimiux Exp $
EAPI=5
-inherit base vim-doc
+inherit autotools eutils vim-doc
DESCRIPTION="Console file manager with vi(m)-like keybindings"
HOMEPAGE="http://vifm.sourceforge.net/"
@@ -27,7 +27,12 @@ RDEPEND="
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
"
-DOCS=( AUTHORS FAQ NEWS README TODO )
+DOCS="AUTHORS FAQ NEWS README TODO"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fix-ncurses-tinfo.patch"
+ eautoreconf
+}
src_configure() {
econf \
@@ -38,8 +43,13 @@ src_configure() {
$(use_with X X11)
}
+src_compile() {
+ default
+}
+
src_install() {
- base_src_install
+ einstall
+ dodoc ${DOCS}
if use vim; then
local t