1 |
commit: 79fc4e53c5ce05518a477b059400ea866d7d69e9 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 9 02:12:06 2019 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 9 02:13:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79fc4e53 |
7 |
|
8 |
games-util/wit: fix build failures due to ncurses linking |
9 |
|
10 |
Closes: https://bugs.gentoo.org/690222 |
11 |
|
12 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
13 |
|
14 |
games-util/wit/files/wit-3.02a-makefile.patch | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/games-util/wit/files/wit-3.02a-makefile.patch b/games-util/wit/files/wit-3.02a-makefile.patch |
18 |
index 7d3be3fbd57..a0dea1405a6 100644 |
19 |
--- a/games-util/wit/files/wit-3.02a-makefile.patch |
20 |
+++ b/games-util/wit/files/wit-3.02a-makefile.patch |
21 |
@@ -1,5 +1,5 @@ |
22 |
Don't link libdl into wfuse as it's unnecessary, use system bzip2, respect user |
23 |
-CFLAGS, and use verbose build output. |
24 |
+CFLAGS, use pkgconfig to determine ncurses libs, and use verbose build output. |
25 |
|
26 |
--- wiimms-iso-tools.source-3.02a/Makefile |
27 |
+++ wiimms-iso-tools.source-3.02a/Makefile |
28 |
@@ -40,7 +40,7 @@ CFLAGS, and use verbose build output. |
29 |
LIBS += -lz |
30 |
endif |
31 |
-LIBS += -lm -lncurses $(XLIBS) |
32 |
-+LIBS += -lm -lncurses -lbz2 $(XLIBS) |
33 |
++LIBS += -lm $(shell pkg-config --libs ncurses) -lbz2 $(XLIBS) |
34 |
|
35 |
DISTRIB_RM = ./wit-v$(VERSION)-r |
36 |
DISTRIB_BASE = wit-v$(VERSION)-r$(REVISION_NEXT) |