sys-process/latencytop: Fix build with recent ncurses
authorJan Kundrát <jkt@gentoo.org>
Tue, 6 Dec 2016 00:52:01 +0000 (01:52 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 6 Dec 2016 13:52:09 +0000 (14:52 +0100)
commitc4bb36139b5ae2afd61cdac774e9b6777c34fba1
treec7b6961e3a9aa9f2daf801b73ec519d358e5bea2
parente3986933de768d895dd4d19685fafd10dc9420c0
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
sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch