1 |
commit: 0cd8f10f2c32a738f8828b6a7417d43895051cec |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 8 18:36:25 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 8 18:36:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd8f10f |
7 |
|
8 |
games-util/xgamer: Add build fix for Perl 5.26, bug 623594 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
games-util/xgamer/files/xgamer-0.6.2-perl526.patch | 13 +++++++++++++ |
13 |
games-util/xgamer/xgamer-0.6.2.ebuild | 7 +++++-- |
14 |
2 files changed, 18 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/games-util/xgamer/files/xgamer-0.6.2-perl526.patch b/games-util/xgamer/files/xgamer-0.6.2-perl526.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..d59ba05263f |
19 |
--- /dev/null |
20 |
+++ b/games-util/xgamer/files/xgamer-0.6.2-perl526.patch |
21 |
@@ -0,0 +1,13 @@ |
22 |
+diff -ruN xgamer.orig/Build.PL xgamer/Build.PL |
23 |
+--- xgamer.orig/Build.PL 2012-09-21 17:23:27.000000000 +0200 |
24 |
++++ xgamer/Build.PL 2017-07-08 20:33:44.566199833 +0200 |
25 |
+@@ -2,7 +2,8 @@ |
26 |
+ |
27 |
+ use strict; |
28 |
+ use warnings; |
29 |
+- |
30 |
++ |
31 |
++use lib q[.]; |
32 |
+ use inc::MyBuilder; |
33 |
+ use File::Spec::Functions; |
34 |
+ |
35 |
|
36 |
diff --git a/games-util/xgamer/xgamer-0.6.2.ebuild b/games-util/xgamer/xgamer-0.6.2.ebuild |
37 |
index 1cfa19c337b..e139c04400f 100644 |
38 |
--- a/games-util/xgamer/xgamer-0.6.2.ebuild |
39 |
+++ b/games-util/xgamer/xgamer-0.6.2.ebuild |
40 |
@@ -1,7 +1,7 @@ |
41 |
# Copyright 1999-2017 Gentoo Foundation |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
|
44 |
-EAPI=5 |
45 |
+EAPI=6 |
46 |
inherit perl-module |
47 |
|
48 |
DESCRIPTION="A launcher for starting games in a second X session" |
49 |
@@ -29,7 +29,10 @@ DEPEND="${RDEPEND} |
50 |
|
51 |
S=${WORKDIR}/${PN} |
52 |
|
53 |
-PATCHES=( "${FILESDIR}"/${P}-desktopfile.patch ) |
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}"/${P}-desktopfile.patch |
56 |
+ "${FILESDIR}"/${P}-perl526.patch |
57 |
+) |
58 |
|
59 |
pkg_postinst() { |
60 |
elog "optional dependencies:" |