From 25c7fd05b4e8078439390b36cda83bab69041852 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 22 Aug 2016 21:00:43 +0200 Subject: [PATCH] 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 ee11e5f09c33..92153b83810a 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 d30b43eb9dc2..4615827f4fb6 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() { -- 2.26.2