public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-process/latencytop/files/
@ 2016-12-06 13:52 Lars Wendler
  0 siblings, 0 replies; only message in thread
From: Lars Wendler @ 2016-12-06 13:52 UTC (permalink / raw
  To: gentoo-commits

commit:     c4bb36139b5ae2afd61cdac774e9b6777c34fba1
Author:     Jan Kundrát <jkt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  6 00:52:01 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec  6 13:52:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4bb3613

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(-)

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 c33c127..8910e32 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
  


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-06 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-06 13:52 [gentoo-commits] repo/gentoo:master commit in: sys-process/latencytop/files/ Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox