commit: 25c7fd05b4e8078439390b36cda83bab69041852 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Aug 22 19:00:43 2016 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Aug 22 19:01:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c7fd05
x11-misc/xnots: Fix building with sys-devel/gcc-5* (bug #575376). Package-Manager: portage-2.3.0 x11-misc/xnots/xnots-0.2.1-r1.ebuild | 22 ++++++++++++++-------- x11-misc/xnots/xnots-9999.ebuild | 22 ++++++++++++++-------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/x11-misc/xnots/xnots-0.2.1-r1.ebuild b/x11-misc/xnots/xnots-0.2.1-r1.ebuild index ee11e5f..92153b8 100644 --- a/x11-misc/xnots/xnots-0.2.1-r1.ebuild +++ b/x11-misc/xnots/xnots-0.2.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="A desktop sticky note program for the unix geek" HOMEPAGE="http://xnots.sourceforge.net https://github.com/thePalindrome/xnots" @@ -14,20 +14,26 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="vim-syntax" -RDEPEND="x11-libs/libX11 +RDEPEND=" + x11-libs/libX11 x11-libs/libXext - x11-libs/libXrender x11-libs/libXrandr - x11-libs/pango[X]" + x11-libs/libXrender + x11-libs/pango[X] +" -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} virtual/pkgconfig - x11-proto/xextproto + x11-proto/randrproto x11-proto/renderproto - x11-proto/randrproto" + x11-proto/xextproto +" src_prepare() { sed -i -e 's|LICENCE||g' Makefile || die + + append-cflags -std=gnu89 } src_compile() { diff --git a/x11-misc/xnots/xnots-9999.ebuild b/x11-misc/xnots/xnots-9999.ebuild index d30b43e..4615827 100644 --- a/x11-misc/xnots/xnots-9999.ebuild +++ b/x11-misc/xnots/xnots-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit git-r3 toolchain-funcs +inherit flag-o-matic git-r3 toolchain-funcs DESCRIPTION="A desktop sticky note program for the unix geek" HOMEPAGE="http://xnots.sourceforge.net https://github.com/thePalindrome/xnots" @@ -13,20 +13,26 @@ LICENSE="GPL-2" SLOT="0" IUSE="vim-syntax" -RDEPEND="x11-libs/libX11 +RDEPEND=" + x11-libs/libX11 x11-libs/libXext - x11-libs/libXrender x11-libs/libXrandr - x11-libs/pango[X]" + x11-libs/libXrender + x11-libs/pango[X] +" -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} virtual/pkgconfig - x11-proto/xextproto + x11-proto/randrproto x11-proto/renderproto - x11-proto/randrproto" + x11-proto/xextproto +" src_prepare() { sed -i -e 's|LICENCE||g' Makefile || die + + append-cflags -std=gnu89 } src_compile() {
