diff --git a/bridge-utils-1.5-ip6.patch b/bridge-utils-1.5-ip6.patch new file mode 100644 index 0000000..b134910 --- /dev/null +++ b/bridge-utils-1.5-ip6.patch @@ -0,0 +1,24 @@ +Index: libbridge/libbridge.h +=================================================================== +--- libbridge/libbridge.h.orig ++++ libbridge/libbridge.h +@@ -21,6 +21,7 @@ + + #include + #include ++#include + #include + + /* defined in net/if.h but that conflicts with linux/if.h... */ +Index: libbridge/libbridge_private.h +=================================================================== +--- libbridge/libbridge_private.h.orig ++++ libbridge/libbridge_private.h +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + + #define MAX_BRIDGES 1024 diff --git a/bridge-utils.changes b/bridge-utils.changes index ede86d3..75dba10 100644 --- a/bridge-utils.changes +++ b/bridge-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 27 10:37:08 CEST 2013 - mhrusecky@suse.cz + +- added missing include to fix build in factory + bridge-utils-1.5-ip6.patch + ------------------------------------------------------------------- Thu Mar 21 08:26:47 UTC 2013 - mmeister@suse.com diff --git a/bridge-utils.spec b/bridge-utils.spec index be1ba86..3cbb0c1 100644 --- a/bridge-utils.spec +++ b/bridge-utils.spec @@ -28,6 +28,7 @@ Group: Productivity/Networking/Routing Source: http://downloads.sourceforge.net/project/bridge/bridge/%{name}-%{version}.tar.gz Patch: %{name}-%{version}-hz.diff Patch1: %{name}-%{version}-optflags.patch +Patch2: bridge-utils-1.5-ip6.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -49,6 +50,7 @@ The %{name} devel package contains files needed for development. %setup -q %patch %patch1 +%patch2 %build autoreconf -fiv