From b33d8d8aa20976c9c5ab6cfb83ce3d8f55c9a4aa Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 11 Sep 2019 20:36:12 -0300 Subject: community/py3-ethtool: rename from py-ethtool --- community/py3-ethtool/fix-includes-and-types.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 community/py3-ethtool/fix-includes-and-types.patch (limited to 'community/py3-ethtool/fix-includes-and-types.patch') 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 + #include "include/py3c/compat.h" + #include +-#include + #include + #include + #include +--- 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 /* for SIOCETHTOOL */ -- cgit v1.2.3