summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-05-17 13:08:20 +0200
committerJeroen Roovers <jer@gentoo.org>2020-05-17 13:09:19 +0200
commite432f4606c7ec51dfce00b648b76fdab8263ebd6 (patch)
tree711c43d7a01a975d9d6610ce9184b128e5015131 /net-dialup/dwun/dwun-0.96e-r4.ebuild
parentnet-analyzer/zabbix: bump to 5.0.0 (diff)
downloadgentoo-e432f4606c7ec51dfce00b648b76fdab8263ebd6.tar.gz
gentoo-e432f4606c7ec51dfce00b648b76fdab8263ebd6.tar.bz2
gentoo-e432f4606c7ec51dfce00b648b76fdab8263ebd6.zip
net-dialup/dwun: Fix building with CFLAGS=-fno-common
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://bugs.gentoo.org/706982 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-dialup/dwun/dwun-0.96e-r4.ebuild')
-rw-r--r--net-dialup/dwun/dwun-0.96e-r4.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-dialup/dwun/dwun-0.96e-r4.ebuild b/net-dialup/dwun/dwun-0.96e-r4.ebuild
index fbc86601b416..aa99a75ba5ee 100644
--- a/net-dialup/dwun/dwun-0.96e-r4.ebuild
+++ b/net-dialup/dwun/dwun-0.96e-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,6 +16,8 @@ KEYWORDS="~amd64 x86"
DOCS=( AUTHORS ChangeLog QUICKSTART README TODO UPGRADING )
src_prepare() {
+ eapply "${FILESDIR}"/${P}-fno-common.patch
+
sed -i -e "s:TODO QUICKSTART README UPGRADING ChangeLog COPYING AUTHORS::" Makefile.in || die
tc-export CC