Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

FL-525 - Openvswitch kernel-3.2 debian patch

  • Loading branch information...
commit 8c2e4b2801c24dfd1f1e34dcd0e03e7c993bc25f 1 parent 91129ef
authored
19  net-misc/openvswitch/files/openvswitch_linux32.patch
... ...
@@ -0,0 +1,19 @@
  1
+---
  2
+ datapath/linux/compat/include/linux/etherdevice.h |    2 +-
  3
+ 1 file changed, 1 insertion(+), 1 deletion(-)
  4
+
  5
+diff --git a/datapath/linux/compat/include/linux/etherdevice.h b/datapath/linux/
  6
+index 7f04c96..3a1400a 100644
  7
+--- a/datapath/linux/compat/include/linux/etherdevice.h
  8
++++ b/datapath/linux/compat/include/linux/etherdevice.h
  9
+@@ -9,7 +9,7 @@ static inline void eth_hw_addr_random(struct net_device *dev)
  10
+ {
  11
+        random_ether_addr(dev->dev_addr);
  12
+ }
  13
+-#elif LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
  14
++#elif LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
  15
+ static inline void eth_hw_addr_random(struct net_device *dev)
  16
+ {
  17
+        dev_hw_addr_random(dev, dev->dev_addr);
  18
+-- 
  19
+1.7.10.4
1  net-misc/openvswitch/openvswitch-1.9.0.ebuild
@@ -46,6 +46,7 @@ pkg_setup() {
46 46
 
47 47
 src_prepare() {
48 48
 	# Never build kernelmodules, doing this manually
  49
+	epatch "${FILESDIR}"/"${PN}"_linux32.patch
49 50
 	sed -i \
50 51
 		-e '/^SUBDIRS/d' \
51 52
 		datapath/Makefile.in || die "sed failed"

0 notes on commit 8c2e4b2

Please sign in to comment.
Something went wrong with that request. Please try again.