summaryrefslogtreecommitdiff
path: root/package/bridge-utils/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/bridge-utils/patches')
-rw-r--r--package/bridge-utils/patches/patch-brctl_brctl_c13
-rw-r--r--package/bridge-utils/patches/patch-brctl_brctl_cmd_c10
-rw-r--r--package/bridge-utils/patches/patch-brctl_brctl_disp_c10
-rw-r--r--package/bridge-utils/patches/patch-libbridge_libbridge_h5
4 files changed, 36 insertions, 2 deletions
diff --git a/package/bridge-utils/patches/patch-brctl_brctl_c b/package/bridge-utils/patches/patch-brctl_brctl_c
new file mode 100644
index 000000000..5305e47cc
--- /dev/null
+++ b/package/bridge-utils/patches/patch-brctl_brctl_c
@@ -0,0 +1,13 @@
+--- bridge-utils-1.5.orig/brctl/brctl.c 2011-03-29 02:52:54.000000000 +0200
++++ bridge-utils-1.5/brctl/brctl.c 2013-12-27 20:58:33.000000000 +0100
+@@ -19,8 +19,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <getopt.h>
++#include <sys/types.h>
+
+ #include "libbridge.h"
+ #include "config.h"
diff --git a/package/bridge-utils/patches/patch-brctl_brctl_cmd_c b/package/bridge-utils/patches/patch-brctl_brctl_cmd_c
new file mode 100644
index 000000000..62ccfef49
--- /dev/null
+++ b/package/bridge-utils/patches/patch-brctl_brctl_cmd_c
@@ -0,0 +1,10 @@
+--- bridge-utils-1.5.orig/brctl/brctl_cmd.c 2011-03-29 02:52:54.000000000 +0200
++++ bridge-utils-1.5/brctl/brctl_cmd.c 2013-12-27 20:59:48.000000000 +0100
+@@ -20,6 +20,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/time.h>
++#include <sys/types.h>
+ #include <errno.h>
+ #include <asm/param.h>
+ #include "libbridge.h"
diff --git a/package/bridge-utils/patches/patch-brctl_brctl_disp_c b/package/bridge-utils/patches/patch-brctl_brctl_disp_c
new file mode 100644
index 000000000..2adbb9e35
--- /dev/null
+++ b/package/bridge-utils/patches/patch-brctl_brctl_disp_c
@@ -0,0 +1,10 @@
+--- bridge-utils-1.5.orig/brctl/brctl_disp.c 2011-03-29 02:52:54.000000000 +0200
++++ bridge-utils-1.5/brctl/brctl_disp.c 2013-12-27 21:00:22.000000000 +0100
+@@ -20,6 +20,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/time.h>
++#include <sys/types.h>
+
+ #include "libbridge.h"
+ #include "brctl.h"
diff --git a/package/bridge-utils/patches/patch-libbridge_libbridge_h b/package/bridge-utils/patches/patch-libbridge_libbridge_h
index 2d42c496c..bbfd4ccb3 100644
--- a/package/bridge-utils/patches/patch-libbridge_libbridge_h
+++ b/package/bridge-utils/patches/patch-libbridge_libbridge_h
@@ -1,9 +1,10 @@
--- bridge-utils-1.5.orig/libbridge/libbridge.h 2011-03-29 02:52:54.000000000 +0200
-+++ bridge-utils-1.5/libbridge/libbridge.h 2013-07-12 14:38:31.000000000 +0200
-@@ -20,6 +20,7 @@
++++ bridge-utils-1.5/libbridge/libbridge.h 2013-12-27 21:01:15.000000000 +0100
+@@ -20,6 +20,8 @@
#define _LIBBRIDGE_H
#include <sys/socket.h>
++#include <sys/types.h>
+#include <netinet/in.h>
#include <linux/if.h>
#include <linux/if_bridge.h>