diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-11 20:36:12 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-11 22:00:37 -0300 |
commit | b33d8d8aa20976c9c5ab6cfb83ce3d8f55c9a4aa (patch) | |
tree | b2e858cc79be3cd5a7b568311b9221084e4f0fb3 /community/py3-ethtool/fix-includes-and-types.patch | |
parent | 969d0bfc49cfe81c680bc4cd24602e8978172549 (diff) | |
download | aports-b33d8d8aa20976c9c5ab6cfb83ce3d8f55c9a4aa.tar.bz2 aports-b33d8d8aa20976c9c5ab6cfb83ce3d8f55c9a4aa.tar.xz |
community/py3-ethtool: rename from py-ethtool
Diffstat (limited to 'community/py3-ethtool/fix-includes-and-types.patch')
-rw-r--r-- | community/py3-ethtool/fix-includes-and-types.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/py3-ethtool/fix-includes-and-types.patch b/community/py3-ethtool/fix-includes-and-types.patch new file mode 100644 index 0000000000..4562ce44ad --- /dev/null +++ b/community/py3-ethtool/fix-includes-and-types.patch @@ -0,0 +1,25 @@ +--- 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> +--- a/python-ethtool/ethtool.c ++++ b/python-ethtool/ethtool.c +@@ -45,9 +45,9 @@ + #endif + + typedef unsigned long long u64; +-typedef __uint32_t u32; +-typedef __uint16_t u16; +-typedef __uint8_t u8; ++typedef uint32_t u32; ++typedef uint16_t u16; ++typedef uint8_t u8; + + #include "ethtool-copy.h" + #include <linux/sockios.h> /* for SIOCETHTOOL */ |