summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-02-02 12:27:33 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-02-02 12:29:38 +0100
commitfeb96a00dc2f2e990b28203e459cb65d91c7a4b5 (patch)
tree2163496381df010edebbe2c5df35b821b4d99abe /x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
parentapp-forensics/honggfuzz: tweak for binutils-2.34, bug #707846 (diff)
downloadgentoo-feb96a00dc2f2e990b28203e459cb65d91c7a4b5.tar.gz
gentoo-feb96a00dc2f2e990b28203e459cb65d91c7a4b5.tar.bz2
gentoo-feb96a00dc2f2e990b28203e459cb65d91c7a4b5.zip
x11-plugins/wmgrabimage: fix build with -fno-common
Closes: https://bugs.gentoo.org/706836 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild')
-rw-r--r--x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
index 131e0beaee7a..b1d7ff43dabc 100644
--- a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
+++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -29,9 +29,12 @@ S=${WORKDIR}/${MY_PN}-${PV}/${MY_PN}
PATCHES=( "${FILESDIR}"/${PN}-noman.patch )
src_prepare() {
- sed -i -e 's/-geom /-geometry /' GrabImage || die "sed failed."
- sed -i -e 's/install -s -m /install -m /' Makefile || die "sed failed."
+ sed -i -e 's/-geom /-geometry /' GrabImage || die
+ sed -i -e 's/install -s -m /install -m /' Makefile || die
default
+
+ pushd "${WORKDIR}"/${MY_PN}-${PV} || die
+ eapply "${FILESDIR}"/${P}-gcc-10.patch
}
src_compile() {