summaryrefslogtreecommitdiff
path: root/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
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() {