summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-05-05 17:12:36 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-05-08 18:59:36 +0200
commit4d96b15775c4144cec3224c8913fac01bf6bd003 (patch)
treea154c97c1858852cccd56f7dd41bfc55809b2079 /games-action/dxx-rebirth/dxx-rebirth-0.59.100.ebuild
parentdev-libs/efl: remove old 1.22.1 (diff)
downloadgentoo-4d96b15775c4144cec3224c8913fac01bf6bd003.tar.gz
gentoo-4d96b15775c4144cec3224c8913fac01bf6bd003.tar.bz2
gentoo-4d96b15775c4144cec3224c8913fac01bf6bd003.zip
games-action/dxx-rebirth: Fix build against physfs-3
Closes: https://bugs.gentoo.org/653014 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-action/dxx-rebirth/dxx-rebirth-0.59.100.ebuild')
-rw-r--r--games-action/dxx-rebirth/dxx-rebirth-0.59.100.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games-action/dxx-rebirth/dxx-rebirth-0.59.100.ebuild b/games-action/dxx-rebirth/dxx-rebirth-0.59.100.ebuild
index 048eb3cb263c..df2171429517 100644
--- a/games-action/dxx-rebirth/dxx-rebirth-0.59.100.ebuild
+++ b/games-action/dxx-rebirth/dxx-rebirth-0.59.100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -51,9 +51,11 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/${MY_P}"
-# Remove hardcoded optimisation flags.
-# Change share path to use old d1x/d2x locations.
-PATCHES=( "${FILESDIR}"/${P}-{flags,sharepath}.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-flags.patch # Remove hardcoded optimisation flags.
+ "${FILESDIR}"/${P}-sharepath.patch # Change share path to use old d1x/d2x locations.
+ "${FILESDIR}"/${P}-physfs-3-no-deprecation.patch # bug #653014
+)
src_compile() {
tc-export CXX
@@ -102,6 +104,5 @@ pkg_postinst() {
elog "To play the game enable USE=\"data\" or manually "
elog "copy the files to ${EPREFIX}/usr/share/games/{d1x,d2x}."
elog "See each game's INSTALL.txt for details."
- echo
fi
}