Skip to content

Commit

Permalink
www-servers/gatling: epatch->PATCHES=()
Browse files Browse the repository at this point in the history
Also reworked the patch to be -p1.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
  • Loading branch information
hanetzer authored and hartwork committed Apr 21, 2018
1 parent 03d2069 commit 149e967
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions www-servers/gatling/files/gatling-0.13-compile.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- GNUmakefile 2012-04-10 04:31:14.505474482 +0200
+++ GNUmakefile 2012-04-10 04:31:53.821982958 +0200
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -64,7 +64,7 @@
acc: acc.c
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) -lowfat
Expand Down
9 changes: 6 additions & 3 deletions www-servers/gatling/gatling-0.15.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
Expand All @@ -23,10 +23,13 @@ DEPEND=">=dev-libs/libowfat-0.25[diet=]
)"
RDEPEND="${DEPEND}"

PATCHES=(
"${FILESDIR}/${PN}-0.13-compile.patch"
)

src_prepare() {
default
rm Makefile # leaves us with GNUmakefile
epatch "${FILESDIR}/${PN}-0.13-compile.patch"
eapply_user
}

src_compile() {
Expand Down

0 comments on commit 149e967

Please sign in to comment.