From c4bb36139b5ae2afd61cdac774e9b6777c34fba1 Mon Sep 17 00:00:00 2001 From: Jan Kundrát Date: Tue, 6 Dec 2016 01:52:01 +0100 Subject: 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 --- .../latencytop/files/latencytop-0.5-03-clean-up-build-system.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-process') 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 -- cgit v1.2.3-65-gdbad