diff options
author | 2020-03-01 16:12:33 +0100 | |
---|---|---|
committer | 2020-03-01 16:12:43 +0100 | |
commit | 59f3ded139d77e75745a3fd95f9999bdb3668a9c (patch) | |
tree | 02eff3a0709244fe05f33b4611382ef99c4608e2 /x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild | |
parent | x11-plugins/wmsysmon: fix build with -fno-common (diff) | |
download | gentoo-59f3ded139d77e75745a3fd95f9999bdb3668a9c.tar.gz gentoo-59f3ded139d77e75745a3fd95f9999bdb3668a9c.tar.bz2 gentoo-59f3ded139d77e75745a3fd95f9999bdb3668a9c.zip |
x11-plugins/wmdots: fix build with -fno-common
Closes: https://bugs.gentoo.org/707532
Package-Manager: Portage-2.3.90, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild')
-rw-r--r-- | x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild b/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild index 5aaba6401e1..7c4b91c7072 100644 --- a/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild +++ b/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild @@ -21,6 +21,10 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${PN}" src_prepare() { + pushd "${WORKDIR}" || die + eapply "${FILESDIR}"/${P}-gcc-10.patch + popd || die + default eapply "${FILESDIR}"/${P}-stringh.patch sed -e "s|cc|$(tc-getCC)|g" \ |