diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-08-31 06:53:37 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-08-31 06:54:20 +0200 |
commit | f40658bc7798d20eb5fb9b698a249ccbe92a4614 (patch) | |
tree | 56006b264d422da7cb7700dba8a533cae1a6305f /net-libs/libtrace/files | |
parent | net-libs/libflowmanager: Version bump. (diff) | |
download | gentoo-f40658bc7798d20eb5fb9b698a249ccbe92a4614.tar.gz gentoo-f40658bc7798d20eb5fb9b698a249ccbe92a4614.tar.bz2 gentoo-f40658bc7798d20eb5fb9b698a249ccbe92a4614.zip |
net-libs/libtrace: Version bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-libs/libtrace/files')
-rw-r--r-- | net-libs/libtrace/files/libtrace-4.0.0-no-examples.patch | 10 | ||||
-rw-r--r-- | net-libs/libtrace/files/libtrace-4.0.0-with-numa.patch | 27 |
2 files changed, 37 insertions, 0 deletions
diff --git a/net-libs/libtrace/files/libtrace-4.0.0-no-examples.patch b/net-libs/libtrace/files/libtrace-4.0.0-no-examples.patch new file mode 100644 index 000000000000..8467ffda24b0 --- /dev/null +++ b/net-libs/libtrace/files/libtrace-4.0.0-no-examples.patch @@ -0,0 +1,10 @@ +--- 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 diff --git a/net-libs/libtrace/files/libtrace-4.0.0-with-numa.patch b/net-libs/libtrace/files/libtrace-4.0.0-with-numa.patch new file mode 100644 index 000000000000..54e9f54f8dc1 --- /dev/null +++ b/net-libs/libtrace/files/libtrace-4.0.0-with-numa.patch @@ -0,0 +1,27 @@ +--- 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) |