mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
net-libs/libtrace: remove unused patches
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/26263 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -61,7 +61,7 @@
|
||||
])
|
||||
|
||||
# Put all our automake definitions in config.h
|
||||
-AM_CONFIG_HEADER([config.h])
|
||||
+AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
# Checks for C and C++ compilers
|
||||
AC_PROG_CC
|
||||
@@ -1,10 +0,0 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,6 +1,6 @@
|
||||
LIBPACKETDUMP_DIR = libpacketdump
|
||||
TOOLS_DIR = tools
|
||||
-SUBDIRS = lib $(LIBPACKETDUMP_DIR) $(TOOLS_DIR) docs examples
|
||||
+SUBDIRS = lib $(LIBPACKETDUMP_DIR) $(TOOLS_DIR) docs
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
AUTOMAKE_OPTIONS = 1.9 foreign
|
||||
@@ -1,27 +0,0 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -431,7 +431,23 @@
|
||||
[[#include <linux/if_packet.h>]])
|
||||
|
||||
# If we use DPDK we might be able to use libnuma
|
||||
-AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0)
|
||||
+AC_ARG_WITH(numa,
|
||||
+ AS_HELP_STRING(--with-numa,include NUMA support),
|
||||
+[
|
||||
+ if test "$withval" = no
|
||||
+ then
|
||||
+ want_numa=no
|
||||
+ else
|
||||
+ want_numa=yes
|
||||
+ fi
|
||||
+],[
|
||||
+ # Default to building without NUMA
|
||||
+ want_numa=yes
|
||||
+])
|
||||
+
|
||||
+if test "$want_numa" != no; then
|
||||
+ AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0)
|
||||
+fi
|
||||
|
||||
# Checks for various "optional" libraries
|
||||
AC_CHECK_LIB(pthread, pthread_create, have_pthread=1, have_pthread=0)
|
||||
@@ -1,30 +0,0 @@
|
||||
--- 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)]))
|
||||
|
||||
Reference in New Issue
Block a user