summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2016-08-06 22:55:09 +0200
committerRafael Martins <rafaelmartins@gentoo.org>2016-08-06 22:55:09 +0200
commit6009c41728f7afe3072ebfe70b0fac4e43d22a96 (patch)
tree5565c5b049d1622a9c942637e79f23508c484e8e /dev-python/python-ethtool/files
parentapp-eselect/eselect-lua: add myself as maintainer (diff)
downloadgentoo-6009c41728f7afe3072ebfe70b0fac4e43d22a96.tar.gz
gentoo-6009c41728f7afe3072ebfe70b0fac4e43d22a96.tar.bz2
gentoo-6009c41728f7afe3072ebfe70b0fac4e43d22a96.zip
Initial import
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/python-ethtool/files')
-rw-r--r--dev-python/python-ethtool/files/python-ethtool-0.11_include-net-if.h-for-IFF_-macros.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/python-ethtool/files/python-ethtool-0.11_include-net-if.h-for-IFF_-macros.patch b/dev-python/python-ethtool/files/python-ethtool-0.11_include-net-if.h-for-IFF_-macros.patch
new file mode 100644
index 000000000000..f5cb92984ef9
--- /dev/null
+++ b/dev-python/python-ethtool/files/python-ethtool-0.11_include-net-if.h-for-IFF_-macros.patch
@@ -0,0 +1,24 @@
+From a43f582918d3295b7cdef9e056bf5b1c4eb2ef80 Mon Sep 17 00:00:00 2001
+From: Yaakov Selkowitz <yselkowi@redhat.com>
+Date: Mon, 22 Jun 2015 05:18:44 -0500
+Subject: [PATCH] Include net/if.h for IFF_* macros
+
+---
+ python-ethtool/ethtool.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/python-ethtool/ethtool.c b/python-ethtool/ethtool.c
+index 0f9cdbb..5415ec6 100644
+--- a/python-ethtool/ethtool.c
++++ b/python-ethtool/ethtool.c
+@@ -27,6 +27,7 @@
+ #include <sys/types.h>
+ #include <ifaddrs.h>
+ #include <netlink/route/addr.h>
++#include <net/if.h>
+
+ #include "etherinfo_struct.h"
+ #include "etherinfo_obj.h"
+--
+2.1.0
+