summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-07-16 06:46:47 +0200
committerJeroen Roovers <jer@gentoo.org>2019-07-16 07:10:22 +0200
commitd3180931653885af380d2d8ecdec5ac8c4c72331 (patch)
treef283b8e7a90eaf5d5b461fab2d9bf15e0ef3e0e2 /net-libs/libtrace/files
parentdev-perl/Net-Server-Mail: Bump to version 0.280.0 re bug #623812 (diff)
downloadgentoo-d3180931653885af380d2d8ecdec5ac8c4c72331.tar.gz
gentoo-d3180931653885af380d2d8ecdec5ac8c4c72331.tar.bz2
gentoo-d3180931653885af380d2d8ecdec5ac8c4c72331.zip
net-libs/libtrace: Version 4.0.9_p1
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libtrace/files')
-rw-r--r--net-libs/libtrace/files/libtrace-4.0.9_p1-tinfo.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/libtrace/files/libtrace-4.0.9_p1-tinfo.patch b/net-libs/libtrace/files/libtrace-4.0.9_p1-tinfo.patch
new file mode 100644
index 000000000000..e79f7cf82f9f
--- /dev/null
+++ b/net-libs/libtrace/files/libtrace-4.0.9_p1-tinfo.patch
@@ -0,0 +1,30 @@
+--- a/tools/tracetop/Makefile.am
++++ b/tools/tracetop/Makefile.am
+@@ -6,6 +6,6 @@
+ include ../Makefile.tools
+
+ tracetop_SOURCES = tracetop.cc
+-tracetop_LDADD = -lncurses
++tracetop_LDADD = @ncurses_LIBS@
+ tracetop_CPPFLAGS = -fno-strict-aliasing $(AM_CFLAGS)
+ endif
+--- a/configure.in
++++ b/configure.in
+@@ -79,6 +79,8 @@
+ AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc)
+ AM_PROG_LEX
+
++PKG_PROG_PKG_CONFIG
++
+ # All our source files for function replacements are in lib/
+ AC_CONFIG_LIBOBJ_DIR(lib)
+
+@@ -645,6 +663,8 @@
+ fi
+ fi
+
++PKG_CHECK_MODULES(ncurses,ncurses,have_ncurses=yes,have_ncurses=no)
++
+ AC_ARG_WITH([ncurses],
+ AC_HELP_STRING([--with-ncurses], [build tracetop (requires ncurses)]))
+