aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-ethtool/fix-includes-and-types.patch
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-03-28 16:02:55 +0200
committerprspkt <prspkt@protonmail.com>2019-03-28 16:32:59 +0200
commitbcb310e369feb437d01bf66e48a1abaa16d3eb8e (patch)
tree39abec48a761a92c99c71574daaad359344f081a /community/py-ethtool/fix-includes-and-types.patch
parent1e4bd108ccc057442ab035758575e332efcf8148 (diff)
downloadaports-bcb310e369feb437d01bf66e48a1abaa16d3eb8e.tar.bz2
aports-bcb310e369feb437d01bf66e48a1abaa16d3eb8e.tar.xz
community/py-ethtool: upgrade to 0.14
- Add asciidoc and libnl3-dev makedepends.
Diffstat (limited to 'community/py-ethtool/fix-includes-and-types.patch')
-rw-r--r--community/py-ethtool/fix-includes-and-types.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/py-ethtool/fix-includes-and-types.patch b/community/py-ethtool/fix-includes-and-types.patch
index da655f7c67..4562ce44ad 100644
--- a/community/py-ethtool/fix-includes-and-types.patch
+++ b/community/py-ethtool/fix-includes-and-types.patch
@@ -1,16 +1,16 @@
---- python-ethtool-0.7.orig/python-ethtool/etherinfo.c
-+++ python-ethtool-0.7/python-ethtool/etherinfo.c
-@@ -16,7 +16,6 @@
- */
-
+--- a/python-ethtool/etherinfo.c
++++ b/python-ethtool/etherinfo.c
+@@ -18,7 +18,6 @@
#include <Python.h>
+ #include "include/py3c/compat.h"
+ #include <bytesobject.h>
-#include <bits/sockaddr.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
---- python-ethtool-0.7.orig/python-ethtool/ethtool.c
-+++ python-ethtool-0.7/python-ethtool/ethtool.c
-@@ -41,9 +41,9 @@
+--- a/python-ethtool/ethtool.c
++++ b/python-ethtool/ethtool.c
+@@ -45,9 +45,9 @@
#endif
typedef unsigned long long u64;
@@ -22,4 +22,4 @@
+typedef uint8_t u8;
#include "ethtool-copy.h"
- #include <linux/sockios.h> /* for SIOCETHTOOL */
+ #include <linux/sockios.h> /* for SIOCETHTOOL */