summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kundrát <jkt@gentoo.org>2016-12-06 01:52:01 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-12-06 14:52:09 +0100
commitc4bb36139b5ae2afd61cdac774e9b6777c34fba1 (patch)
treec7b6961e3a9aa9f2daf801b73ec519d358e5bea2 /sys-process
parentsys-apps/isapnptools: update HOMEPAGE, #533772 (diff)
downloadgentoo-c4bb36139b5ae2afd61cdac774e9b6777c34fba1.tar.gz
gentoo-c4bb36139b5ae2afd61cdac774e9b6777c34fba1.tar.bz2
gentoo-c4bb36139b5ae2afd61cdac774e9b6777c34fba1.zip
sys-process/latencytop: Fix build with recent ncurses
...because the `tinfow` was not getting linked: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -ggdb -Wno-sign-compare -Wl,-O1 -Wl,--as-needed latencytop.o text_display.o translate.o fsync.o -o latencytop `x86_64-pc-linux-gnu-pkg-config --libs glib-2.0` -lncursesw /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: text_display.o: undefined reference to symbol 'curs_set' /lib64/libtinfow.so.6: error adding symbols: DSO missing from command line Closes: https://github.com/gentoo/gentoo/pull/3028
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch b/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch
index c33c127dab6b..8910e32bbc2b 100644
--- a/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch
+++ b/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch
@@ -30,7 +30,7 @@ index de24551..9a3cc05 100644
+override CFLAGS += -Wno-sign-compare
+override CPPFLAGS += `$(PKG_CONFIG) --cflags glib-2.0`
+LDFLAGS ?= -Wl,--as-needed
-+LDADD = `$(PKG_CONFIG) --libs glib-2.0` -lncursesw
++LDADD = `$(PKG_CONFIG) --libs glib-2.0` `$(PKG_CONFIG) --libs ncursesw`
OBJS= latencytop.o text_display.o translate.o fsync.o