Fixes build problem observed in r35819.

Signed-off-by: Russell Senior <[email protected]>
---
 net/bridge-utils/Makefile                             |  4 ++--
 net/bridge-utils/patches/010-missing-in6-header.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 net/bridge-utils/patches/010-missing-in6-header.patch

diff --git a/net/bridge-utils/Makefile b/net/bridge-utils/Makefile
index f87551c..63edf4a 100644
--- a/net/bridge-utils/Makefile
+++ b/net/bridge-utils/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=bridge-utils
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_SOURCE_URL:=@SF/bridge
 PKG_VERSION:=1.5
 PKG_MD5SUM:=ec7b381160b340648dede58c31bb2238
diff --git a/net/bridge-utils/patches/010-missing-in6-header.patch 
b/net/bridge-utils/patches/010-missing-in6-header.patch
new file mode 100644
index 0000000..f04db9c
--- /dev/null
+++ b/net/bridge-utils/patches/010-missing-in6-header.patch
@@ -0,0 +1,12 @@
+Index: bridge-utils-1.5/libbridge/libbridge.h
+===================================================================
+--- bridge-utils-1.5.orig/libbridge/libbridge.h
++++ bridge-utils-1.5/libbridge/libbridge.h
+@@ -21,6 +21,7 @@
+ 
+ #include <sys/socket.h>
+ #include <linux/if.h>
++#include <linux/in6.h>
+ #include <linux/if_bridge.h>
+ 
+ /* defined in net/if.h but that conflicts with linux/if.h... */
-- 
1.7.12


-- 
Russell Senior, President
[email protected]
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to