diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-10-16 21:15:46 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-10-16 21:15:46 +0200 |
commit | e8e3d41b6a38fab701bd8d74d813325b9edd788b (patch) | |
tree | d3855f3d1bc6b1bc510e6deff73e1be60e6d5da2 /app-misc/graphlcd-base | |
parent | net-libs/gnutls: add subslot operator for all (diff) | |
download | gentoo-e8e3d41b6a38fab701bd8d74d813325b9edd788b.tar.gz gentoo-e8e3d41b6a38fab701bd8d74d813325b9edd788b.tar.bz2 gentoo-e8e3d41b6a38fab701bd8d74d813325b9edd788b.zip |
app-misc/graphlcd-base: compile fix gcc-6, wrt bug 595202; eapi=6
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/graphlcd-base')
-rw-r--r-- | app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild index b9f72c1307ca..3fac7c821e89 100644 --- a/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild +++ b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=6 -inherit eutils flag-o-matic multilib +inherit flag-o-matic multilib VERSION="501" #every bump, new version DESCRIPTION="Graphical LCD Driver" -HOMEPAGE="http://projects.vdr-developer.org/projects/show/graphlcd" +HOMEPAGE="https://projects.vdr-developer.org/projects/graphlcd-base" SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" KEYWORDS="~amd64 ~ppc ~x86" @@ -23,9 +23,14 @@ RDEPEND="g15? ( app-misc/g15daemon ) src_prepare() { sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:" - epatch "${FILESDIR}/${PN}-0.1.5-nostrip.patch" + eapply "${FILESDIR}/${PN}-0.1.5-nostrip.patch" sed -i glcdskin/Makefile -e "s:-shared:\$(LDFLAGS) -shared:" + + #gcc-6 fix + sed -i glcddrivers/futabaMDM166A.c -e "s:0xff7f0004:(int) 0xff7f0004:" + + default } src_install() { @@ -34,5 +39,7 @@ src_install() { insinto /etc doins graphlcd.conf - dodoc docs/* + local DOCS=( HISTORY README docs/* ) + + einstalldocs } |