summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-08 19:24:47 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-08 19:47:11 +0100
commit24918749d0774c6acdfbbf5c5678bf44623a03dd (patch)
tree29cf7a6d1941cfac5cbdd2c23deb434ed32767b3 /dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild
parentapp-office/abiword: [QA] Move patches to a distfile (diff)
downloadgentoo-24918749d0774c6acdfbbf5c5678bf44623a03dd.tar.gz
gentoo-24918749d0774c6acdfbbf5c5678bf44623a03dd.tar.bz2
gentoo-24918749d0774c6acdfbbf5c5678bf44623a03dd.zip
dev-games/irrlicht: [QA] Move patches to distfiles
Closes: https://bugs.gentoo.org/620552
Diffstat (limited to 'dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild')
-rw-r--r--dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild b/dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild
index 12713536b7eb..ed347462168d 100644
--- a/dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild
+++ b/dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -6,7 +6,8 @@ inherit eutils multilib toolchain-funcs
DESCRIPTION="open source high performance realtime 3D engine written in C++"
HOMEPAGE="http://irrlicht.sourceforge.net/"
-SRC_URI="mirror://sourceforge/irrlicht/${P}.zip"
+SRC_URI="mirror://sourceforge/irrlicht/${P}.zip
+ https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2"
LICENSE="ZLIB"
SLOT="0"
@@ -32,11 +33,11 @@ src_prepare() {
edos2unix include/IrrCompileConfig.h
epatch \
- "${FILESDIR}"/${P}-gentoo.patch \
- "${FILESDIR}"/${P}-config.patch \
- "${FILESDIR}"/${P}-demoMake.patch \
- "${FILESDIR}"/${P}-mesa-10.x.patch \
- "${FILESDIR}"/${P}-jpeg-9a.patch
+ "${WORKDIR}"/${P}-patchset/${P}-gentoo.patch \
+ "${WORKDIR}"/${P}-patchset/${P}-config.patch \
+ "${WORKDIR}"/${P}-patchset/${P}-demoMake.patch \
+ "${WORKDIR}"/${P}-patchset/${P}-mesa-10.x.patch \
+ "${WORKDIR}"/${P}-patchset/${P}-jpeg-9a.patch
sed -i \
-e 's:\.\./\.\./media:../media:g' \