forked from pool/python-ethtool
Accepting request 363725 from home:olh:branches:devel:languages:python
- add python-ethtool.patch to fix build OBS-URL: https://build.opensuse.org/request/show/363725 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ethtool?expand=0&rev=2
This commit is contained in:
17
python-ethtool.patch
Normal file
17
python-ethtool.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
python-ethtool/ethtool.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
Index: python-ethtool-0.11/python-ethtool/ethtool.c
|
||||
===================================================================
|
||||
--- python-ethtool-0.11.orig/python-ethtool/ethtool.c
|
||||
+++ python-ethtool-0.11/python-ethtool/ethtool.c
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <ifaddrs.h>
|
||||
+/* This should have been net/if.h, but libnl3 got it wrong */
|
||||
+#include <linux/if.h>
|
||||
#include <netlink/route/addr.h>
|
||||
|
||||
#include "etherinfo_struct.h"
|
||||
Reference in New Issue
Block a user