diff options
author | Alexander Dahl <post@lespocky.de> | 2017-06-20 12:44:59 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-06-21 10:14:54 +0200 |
commit | 967f512eb6e7d3a8758365e1734ea40eb0137b5f (patch) | |
tree | 2ed7f9c911cf783c31cff7c99ebd383f88dd7e75 /patches | |
parent | 5c399086e7694bb4a9295d9dcdfe7467a3329c7a (diff) | |
download | ptxdist-967f512eb6e7d3a8758365e1734ea40eb0137b5f.tar.gz ptxdist-967f512eb6e7d3a8758365e1734ea40eb0137b5f.tar.xz |
dropwatch: new package
This adds a new package 'dropwatch', a tool for seeing where packets are
dropped in the kernel. It was recently moved to a new upstream URL and
is currently only available from Git. Included is one patch from
buildroot, which is not yet upstream. Tested on an at91sam9g20 platform.
Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/dropwatch-2015-07-06-g7c33d8a/0001-Fix-for-binutils-2.23.1.patch | 88 | ||||
-rw-r--r-- | patches/dropwatch-2015-07-06-g7c33d8a/series | 4 |
2 files changed, 92 insertions, 0 deletions
diff --git a/patches/dropwatch-2015-07-06-g7c33d8a/0001-Fix-for-binutils-2.23.1.patch b/patches/dropwatch-2015-07-06-g7c33d8a/0001-Fix-for-binutils-2.23.1.patch new file mode 100644 index 000000000..4eb5bbf54 --- /dev/null +++ b/patches/dropwatch-2015-07-06-g7c33d8a/0001-Fix-for-binutils-2.23.1.patch @@ -0,0 +1,88 @@ +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Fri, 16 Jun 2017 08:50:03 +0200 +Subject: [PATCH] Fix for binutils 2.23.1 + +libbfd from binutils 2.23.1+ requires PACKAGE* definitions from autoconf. +Patch from https://fedorahosted.org/dropwatch/ticket/5 +Upstream status: new. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- + src/lookup.c | 2 +- + src/lookup.h | 3 +++ + src/lookup_bfd.c | 2 +- + src/lookup_kas.c | 2 +- + 4 files changed, 6 insertions(+), 3 deletions(-) + +diff --git a/src/lookup.c b/src/lookup.c +index ba5499173983..809981b674d3 100644 +--- a/src/lookup.c ++++ b/src/lookup.c +@@ -27,13 +27,13 @@ + #include <stdlib.h> + #include <stdio.h> + #include <sys/utsname.h> +-#include <bfd.h> + #include <string.h> + #include <unistd.h> + #include <sys/types.h> + #include <sys/stat.h> + + #include "lookup.h" ++#include <bfd.h> + + extern struct lookup_methods bfd_methods; + extern struct lookup_methods kallsym_methods; +diff --git a/src/lookup.h b/src/lookup.h +index e6568d8b9445..47a7b569870b 100644 +--- a/src/lookup.h ++++ b/src/lookup.h +@@ -28,6 +28,9 @@ + #include <stdlib.h> + #include <asm/types.h> + ++// satisfy PR 14072 in bfd.h ++#define PACKAGE 1 ++#define PACKAGE_VERSION 1 + + /* + * Initalization routine +diff --git a/src/lookup_bfd.c b/src/lookup_bfd.c +index cc7010beecec..271d42682a11 100644 +--- a/src/lookup_bfd.c ++++ b/src/lookup_bfd.c +@@ -25,13 +25,13 @@ + #include <stdlib.h> + #include <stdio.h> + #include <sys/utsname.h> +-#include <bfd.h> + #include <string.h> + #include <unistd.h> + #include <sys/types.h> + #include <sys/stat.h> + + #include "lookup.h" ++#include <bfd.h> + + + static int lookup_bfd_init(void) +diff --git a/src/lookup_kas.c b/src/lookup_kas.c +index 16e639fe5ae8..556cb62a9889 100644 +--- a/src/lookup_kas.c ++++ b/src/lookup_kas.c +@@ -25,7 +25,6 @@ + #include <stdlib.h> + #include <stdio.h> + #include <sys/utsname.h> +-#include <bfd.h> + #include <string.h> + #include <unistd.h> + #include <sys/types.h> +@@ -33,6 +32,7 @@ + #include <sys/queue.h> + + #include "lookup.h" ++#include <bfd.h> + + struct symbol_entry { + char *sym_name; diff --git a/patches/dropwatch-2015-07-06-g7c33d8a/series b/patches/dropwatch-2015-07-06-g7c33d8a/series new file mode 100644 index 000000000..cf276055a --- /dev/null +++ b/patches/dropwatch-2015-07-06-g7c33d8a/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-Fix-for-binutils-2.23.1.patch +# 67ddfe89711030b81d1507e21ebd2023 - git-ptx-patches magic |