Skip to content

Commit

Permalink
games-util/wit: fix build failures due to ncurses linking
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/690222

Signed-off-by: Tim Harder <[email protected]>
  • Loading branch information
radhermit committed Aug 9, 2019
1 parent 996a69f commit 79fc4e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games-util/wit/files/wit-3.02a-makefile.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Don't link libdl into wfuse as it's unnecessary, use system bzip2, respect user
CFLAGS, and use verbose build output.
CFLAGS, use pkgconfig to determine ncurses libs, and use verbose build output.

--- wiimms-iso-tools.source-3.02a/Makefile
+++ wiimms-iso-tools.source-3.02a/Makefile
Expand Down Expand Up @@ -40,7 +40,7 @@ CFLAGS, and use verbose build output.
LIBS += -lz
endif
-LIBS += -lm -lncurses $(XLIBS)
+LIBS += -lm -lncurses -lbz2 $(XLIBS)
+LIBS += -lm $(shell pkg-config --libs ncurses) -lbz2 $(XLIBS)

DISTRIB_RM = ./wit-v$(VERSION)-r
DISTRIB_BASE = wit-v$(VERSION)-r$(REVISION_NEXT)
Expand Down

0 comments on commit 79fc4e5

Please sign in to comment.