summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/stund/stund-0.97-r1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-misc/stund/stund-0.97-r1.ebuild b/net-misc/stund/stund-0.97-r1.ebuild
index a0cae30b..0bd77f60 100644
--- a/net-misc/stund/stund-0.97-r1.ebuild
+++ b/net-misc/stund/stund-0.97-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit eutils
DESCRIPTION="STUN server"
@@ -13,13 +13,15 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
+PATCHES=(
+ "${FILESDIR}/${P}-BJA-amd64.diff"
+)
+
S="${WORKDIR}/${PN}"
src_prepare() {
default
- eapply "${FILESDIR}/${P}-BJA-amd64.diff"
-
sed -i \
-e "/^CXXFLAGS/ s:-g -O ::" \
-e "/^LDFLAGS+/ s:-g -O ::" \