From 9b233a84a949104a2657b6d50e65f0df701755e7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 27 Dec 2013 21:02:01 +0100 Subject: fix musl compile --- package/bridge-utils/Makefile | 2 +- package/bridge-utils/patches/patch-brctl_brctl_c | 13 +++++++++++++ package/bridge-utils/patches/patch-brctl_brctl_cmd_c | 10 ++++++++++ package/bridge-utils/patches/patch-brctl_brctl_disp_c | 10 ++++++++++ package/bridge-utils/patches/patch-libbridge_libbridge_h | 5 +++-- 5 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 package/bridge-utils/patches/patch-brctl_brctl_c create mode 100644 package/bridge-utils/patches/patch-brctl_brctl_cmd_c create mode 100644 package/bridge-utils/patches/patch-brctl_brctl_disp_c (limited to 'package') diff --git a/package/bridge-utils/Makefile b/package/bridge-utils/Makefile index 84517448c..670c97e7c 100644 --- a/package/bridge-utils/Makefile +++ b/package/bridge-utils/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= bridge-utils PKG_VERSION:= 1.5 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= ec7b381160b340648dede58c31bb2238 PKG_DESCR:= Ethernet bridging tools PKG_SECTION:= bridge 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 + #include + #include +-#include ++#include + #include ++#include + + #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 + #include + #include ++#include + #include + #include + #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 + #include + #include ++#include + + #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 ++#include +#include #include #include -- cgit v1.2.3