diff options
Diffstat (limited to 'patches/dibbler-0.7.3/fix-compile.patch')
-rw-r--r-- | patches/dibbler-0.7.3/fix-compile.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/dibbler-0.7.3/fix-compile.patch b/patches/dibbler-0.7.3/fix-compile.patch new file mode 100644 index 000000000..66a4cf554 --- /dev/null +++ b/patches/dibbler-0.7.3/fix-compile.patch @@ -0,0 +1,31 @@ +Fix compilation of dibbler package + +A header file is included that is not needed, and even breaks +compilation on recent kernels. Remove it. + +Signed-off-by: Remy Bohmer <linux@bohmer.net> +--- + Port-linux/utils.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: dibbler-0.7.3/Port-linux/utils.c +=================================================================== +--- dibbler-0.7.3.orig/Port-linux/utils.c ++++ dibbler-0.7.3/Port-linux/utils.c +@@ -14,6 +14,7 @@ + * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses + */ + ++#define GNU_SOURCE + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> +@@ -26,7 +27,7 @@ + #include <arpa/inet.h> + #include <resolv.h> + #include <asm/types.h> +-#include <linux/pkt_sched.h> ++/*#include <linux/pkt_sched.h>*/ + #include <time.h> + #include <sys/time.h> + |