aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuje Mihanović <duje.mihanovic@skole.hr>2022-04-09 14:19:52 +0200
committerDuje Mihanović <duje.mihanovic@skole.hr>2022-04-09 14:19:52 +0200
commit27a7384c4c9299ee4854d9da2bacab66b8343953 (patch)
tree7fd1eb8036111c3e408ea730cf4cbefacdb554b9 /games-fps/assaultcube
parentsys-auth/pam-gnupg: minor fixups (diff)
downloadguru-27a7384c4c9299ee4854d9da2bacab66b8343953.tar.gz
guru-27a7384c4c9299ee4854d9da2bacab66b8343953.tar.bz2
guru-27a7384c4c9299ee4854d9da2bacab66b8343953.zip
games-fps/assaultcube: replace eapply{,user} with default
Again, thanks to thesamesam for reporting this. Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Diffstat (limited to 'games-fps/assaultcube')
-rw-r--r--games-fps/assaultcube/assaultcube-1.3.0.2.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
index d66c888b2..ef8e8f81f 100644
--- a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
+++ b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
@@ -22,14 +22,13 @@ RDEPEND="sys-libs/zlib
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/clang"
PATCHES=(
- "${FILESDIR}/assaultcube-1.3.0.2-respect-ldflags.patch
- ${FILESDIR}/assaultcube-1.3.0.2-fix-checkinstall.patch" # a script which checks for required libs and certain parts of the game
+ "${FILESDIR}/assaultcube-1.3.0.2-respect-ldflags.patch"
+ "${FILESDIR}/assaultcube-1.3.0.2-fix-checkinstall.patch" # a script which checks for required libs and certain parts of the game
)
IUSE="debug"
src_prepare() {
- eapply ${PATCHES}
- eapply_user
+ default
sed -i 's|//#define PRODUCTION|#define PRODUCTION|' "${S}/source/src/cube.h"
}