summaryrefslogtreecommitdiff
path: root/dev-python/netifaces/files/netifaces-0.10.4-remove-osx-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/netifaces/files/netifaces-0.10.4-remove-osx-fix.patch')
-rw-r--r--dev-python/netifaces/files/netifaces-0.10.4-remove-osx-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/netifaces/files/netifaces-0.10.4-remove-osx-fix.patch b/dev-python/netifaces/files/netifaces-0.10.4-remove-osx-fix.patch
new file mode 100644
index 00000000000..7f87a02e365
--- /dev/null
+++ b/dev-python/netifaces/files/netifaces-0.10.4-remove-osx-fix.patch
@@ -0,0 +1,15 @@
+--- netifaces-0.10.4/setup.py
++++ netifaces-0.10.4/setup.py
+@@ -18,12 +18,6 @@
+
+ __version__ = "0.10.4"
+
+-# Disable hard links, otherwise building distributions fails on OS X
+-try:
+- del os.link
+-except:
+- pass
+-
+ # On Windows, we need ws2_32 and iphlpapi
+ if getattr(sys, 'getwindowsversion', None):
+ libraries = ['ws2_32', 'iphlpapi']