1 |
commit: f3045e7b24b7c267ad7152c2b964f20a59beb88d |
2 |
Author: Stefan Strogin <stefan.strogin <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Apr 4 01:48:42 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 5 05:13:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3045e7b |
7 |
|
8 |
games-roguelike/angband: fix build with sys-libs/ncurses[tinfo] |
9 |
|
10 |
Closes: https://bugs.gentoo.org/679942 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Stefan Strogin <stefan.strogin <AT> gmail.com> |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
games-roguelike/angband/angband-4.1.3.ebuild | 2 ++ |
16 |
.../angband/files/angband-4.1.3-tinfo.patch | 29 ++++++++++++++++++++++ |
17 |
2 files changed, 31 insertions(+) |
18 |
|
19 |
diff --git a/games-roguelike/angband/angband-4.1.3.ebuild b/games-roguelike/angband/angband-4.1.3.ebuild |
20 |
index 8a55a747063..29f6be451fb 100644 |
21 |
--- a/games-roguelike/angband/angband-4.1.3.ebuild |
22 |
+++ b/games-roguelike/angband/angband-4.1.3.ebuild |
23 |
@@ -37,6 +37,8 @@ DEPEND="${RDEPEND}" |
24 |
BDEPEND="dev-python/docutils |
25 |
virtual/pkgconfig" |
26 |
|
27 |
+PATCHES=( "${FILESDIR}"/${P}-tinfo.patch ) |
28 |
+ |
29 |
src_prepare() { |
30 |
default |
31 |
|
32 |
|
33 |
diff --git a/games-roguelike/angband/files/angband-4.1.3-tinfo.patch b/games-roguelike/angband/files/angband-4.1.3-tinfo.patch |
34 |
new file mode 100644 |
35 |
index 00000000000..8a1f487e6f6 |
36 |
--- /dev/null |
37 |
+++ b/games-roguelike/angband/files/angband-4.1.3-tinfo.patch |
38 |
@@ -0,0 +1,29 @@ |
39 |
+From de53f9644323af0ff084bc82ef17b26aa6db250e Mon Sep 17 00:00:00 2001 |
40 |
+From: Stefan Strogin <stefan.strogin@×××××.com> |
41 |
+Date: Thu, 4 Apr 2019 04:24:49 +0300 |
42 |
+Subject: [PATCH] Link against tinfow or tinfo if needed |
43 |
+ |
44 |
+It is needed on systems where libtinfo is separate from libncurses. |
45 |
+See: https://bugs.gentoo.org/679942 |
46 |
+ |
47 |
+Upstream-Status: Submitted [https://github.com/angband/angband/pull/522] |
48 |
+Signed-off-by: Stefan Strogin <stefan.strogin@×××××.com> |
49 |
+--- |
50 |
+ configure.ac | 1 + |
51 |
+ 1 file changed, 1 insertion(+) |
52 |
+ |
53 |
+diff --git a/configure.ac b/configure.ac |
54 |
+index 4a671f33..04fa8cae 100644 |
55 |
+--- a/configure.ac |
56 |
++++ b/configure.ac |
57 |
+@@ -244,6 +244,7 @@ if test "$enable_curses" = "yes"; then |
58 |
+ LIBS="${LIBS} -lncursesw" |
59 |
+ MAINFILES="${MAINFILES} \$(GCUMAINFILES)" |
60 |
+ ]) |
61 |
++ AC_SEARCH_LIBS([keypad], [tinfow tinfo]) |
62 |
+ fi |
63 |
+ fi |
64 |
+ |
65 |
+-- |
66 |
+2.21.0 |
67 |
+ |