diff --git a/srcpkgs/bridge-utils/patches/bridge-utils-1.5-linux_3.8.x.patch b/srcpkgs/bridge-utils/patches/bridge-utils-1.5-linux_3.8.x.patch new file mode 100644 index 00000000000..252540b9ef6 --- /dev/null +++ b/srcpkgs/bridge-utils/patches/bridge-utils-1.5-linux_3.8.x.patch @@ -0,0 +1,30 @@ +commit 5eebb7f9288b7881ffb929b1fd494fe3ac3be27d +Author: Russell Senior +Date: Wed Mar 6 12:49:42 2013 -0800 + + bridge-utils: Fix compile against linux-3.8.x + + Linux 3.8 has a header, include/uapi/linux/if_bridge.h that uses a + struct in6_addr but doesn't define it. The trivial seeming fix of + including the header that does define it causes more problems. The + problem was discussed on mailing lists in January 2013. The final + suggestion I found was here: + + http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html + + This is intended to implement that suggestion. + + Signed-off-by: Russell Senior + +diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h +index 39964f2..dd14bae 100644 +--- libbridge/libbridge.h ++++ libbridge/libbridge.h +@@ -20,6 +20,7 @@ + #define _LIBBRIDGE_H + + #include ++#include + #include + #include + diff --git a/srcpkgs/bridge-utils/template b/srcpkgs/bridge-utils/template index 4bd220ee346..2fcbc5a655b 100644 --- a/srcpkgs/bridge-utils/template +++ b/srcpkgs/bridge-utils/template @@ -1,7 +1,7 @@ # Template file for 'bridge-utils' pkgname=bridge-utils version=1.5 -revision=3 +revision=4 build_style=gnu-configure hostmakedepends="automake" short_desc="Layer2 ethernet bridging for Linux"