summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-12-27 11:24:11 +0000
committerJeroen Roovers <jer@gentoo.org>2014-12-27 11:24:11 +0000
commit6b4c5e4023aaf2eb24bfd84ee32d63d5aa83efa7 (patch)
tree6ee4cde39ce41c3ab9fddde27341ff9b04e72e69 /media-sound/vimpc
parentMarked ~ppc ~ppc64 (bug #512546). (diff)
downloadgentoo-2-6b4c5e4023aaf2eb24bfd84ee32d63d5aa83efa7.tar.gz
gentoo-2-6b4c5e4023aaf2eb24bfd84ee32d63d5aa83efa7.tar.bz2
gentoo-2-6b4c5e4023aaf2eb24bfd84ee32d63d5aa83efa7.zip
Fix building against sys-libs/ncurses[tinfo] (bug #529768).
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'media-sound/vimpc')
-rw-r--r--media-sound/vimpc/ChangeLog6
-rw-r--r--media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch11
-rw-r--r--media-sound/vimpc/vimpc-0.09.1.ebuild10
3 files changed, 24 insertions, 3 deletions
diff --git a/media-sound/vimpc/ChangeLog b/media-sound/vimpc/ChangeLog
index 594819c0898c..fe9b49ec9e7b 100644
--- a/media-sound/vimpc/ChangeLog
+++ b/media-sound/vimpc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/vimpc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vimpc/ChangeLog,v 1.22 2014/08/10 21:12:50 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vimpc/ChangeLog,v 1.23 2014/12/27 11:24:11 jer Exp $
+
+ 27 Dec 2014; Jeroen Roovers <jer@gentoo.org> vimpc-0.09.1.ebuild,
+ +files/vimpc-0.09.1-tinfo.patch:
+ Fix building against sys-libs/ncurses[tinfo] (bug #529768).
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> vimpc-0.09.0.ebuild,
vimpc-0.09.1.ebuild:
diff --git a/media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch b/media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch
new file mode 100644
index 000000000000..55729b1a7f4a
--- /dev/null
+++ b/media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -97,6 +97,8 @@
+
+ LIBS="$LIBS $CURSES_LIB"
+
++AC_SEARCH_LIBS([keypad],[tinfow tinfo])
++
+ PKG_CHECK_MODULES(pcre, libpcre)
+
+ AC_SUBST(pcre_LIBS)
diff --git a/media-sound/vimpc/vimpc-0.09.1.ebuild b/media-sound/vimpc/vimpc-0.09.1.ebuild
index ad73b8b54706..44509735426d 100644
--- a/media-sound/vimpc/vimpc-0.09.1.ebuild
+++ b/media-sound/vimpc/vimpc-0.09.1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vimpc/vimpc-0.09.1.ebuild,v 1.4 2014/08/10 21:12:50 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vimpc/vimpc-0.09.1.ebuild,v 1.5 2014/12/27 11:24:11 jer Exp $
-EAPI=4
+EAPI=5
+inherit eutils autotools
DESCRIPTION="An ncurses based mpd client with vi like key bindings"
HOMEPAGE="http://vimpc.sourceforge.net/"
@@ -24,6 +25,11 @@ S=${WORKDIR}/${PN}
DOCS=( AUTHORS README.md doc/vimpcrc.example )
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+ eautoreconf
+}
+
src_configure() {
econf \
$(use_enable boost) \