summaryrefslogtreecommitdiffstats
path: root/main/lxc/0001-Don-t-include-linux-if_bridge.h.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-02-20 10:34:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-20 10:34:57 +0000
commitaa5e512833c517b59570326b5eee07f177256d98 (patch)
treed0369f70a6668fc3edd09c6c5934fd16bb29b137 /main/lxc/0001-Don-t-include-linux-if_bridge.h.patch
parentc534f259093b41d28bf0a2d8e1b67b0612b558f9 (diff)
downloadaports-aa5e512833c517b59570326b5eee07f177256d98.tar.bz2
aports-aa5e512833c517b59570326b5eee07f177256d98.tar.xz
main/lxc: upgrade to 1.0.0_rc4
Diffstat (limited to 'main/lxc/0001-Don-t-include-linux-if_bridge.h.patch')
-rw-r--r--main/lxc/0001-Don-t-include-linux-if_bridge.h.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/main/lxc/0001-Don-t-include-linux-if_bridge.h.patch b/main/lxc/0001-Don-t-include-linux-if_bridge.h.patch
deleted file mode 100644
index 4ebf2db5d..000000000
--- a/main/lxc/0001-Don-t-include-linux-if_bridge.h.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From a7673ab3ebaaf9bdb6bd840791c1ad672ab7f341 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Wed, 29 Jan 2014 13:36:37 +0000
-Subject: [PATCH] Don't include linux/if_bridge.h
-
-Instead rely on struct ethhdr from net/ethernet.h
-
-This fixes build error with musl libc:
-In file included from /usr/include/linux/if_bridge.h:17:0,
- from network.c:47:
-/usr/include/linux/if_ether.h:133:8: error: redefinition of 'struct ethhdr'
- struct ethhdr {
- ^
-In file included from /usr/include/net/ethernet.h:10:0,
- from network.c:42:
-/usr/include/netinet/if_ether.h:93:8: note: originally defined here
- struct ethhdr {
- ^
-
-Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
----
- src/lxc/network.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/src/lxc/network.c b/src/lxc/network.c
-index bd2a37c..34845d1 100644
---- a/src/lxc/network.c
-+++ b/src/lxc/network.c
-@@ -44,7 +44,6 @@
- #include <linux/netlink.h>
- #include <linux/rtnetlink.h>
- #include <linux/sockios.h>
--#include <linux/if_bridge.h>
-
- #include "nl.h"
- #include "network.h"
---
-1.8.5.3
-