Gentoo Archives: gentoo-commits

From: "Duje Mihanović" <duje.mihanovic@×××××.hr>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-fps/assaultcube/
Date: Sat, 09 Apr 2022 12:22:51
Message-Id: 1649506792.27a7384c4c9299ee4854d9da2bacab66b8343953.duje.mihanovic@gentoo
1 commit: 27a7384c4c9299ee4854d9da2bacab66b8343953
2 Author: Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
3 AuthorDate: Sat Apr 9 12:19:52 2022 +0000
4 Commit: Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
5 CommitDate: Sat Apr 9 12:19:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27a7384c
7
8 games-fps/assaultcube: replace eapply{,user} with default
9
10 Again, thanks to thesamesam for reporting this.
11
12 Signed-off-by: Duje Mihanović <duje.mihanovic <AT> skole.hr>
13
14 games-fps/assaultcube/assaultcube-1.3.0.2.ebuild | 7 +++----
15 1 file changed, 3 insertions(+), 4 deletions(-)
16
17 diff --git a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
18 index d66c888b2..ef8e8f81f 100644
19 --- a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
20 +++ b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
21 @@ -22,14 +22,13 @@ RDEPEND="sys-libs/zlib
22 DEPEND="${RDEPEND}"
23 BDEPEND="sys-devel/clang"
24 PATCHES=(
25 - "${FILESDIR}/assaultcube-1.3.0.2-respect-ldflags.patch
26 - ${FILESDIR}/assaultcube-1.3.0.2-fix-checkinstall.patch" # a script which checks for required libs and certain parts of the game
27 + "${FILESDIR}/assaultcube-1.3.0.2-respect-ldflags.patch"
28 + "${FILESDIR}/assaultcube-1.3.0.2-fix-checkinstall.patch" # a script which checks for required libs and certain parts of the game
29 )
30 IUSE="debug"
31
32 src_prepare() {
33 - eapply ${PATCHES}
34 - eapply_user
35 + default
36 sed -i 's|//#define PRODUCTION|#define PRODUCTION|' "${S}/source/src/cube.h"
37 }