components/python/netifaces/patches/00-64bit.patch
branchs11-update
changeset 4072 db0cec748ec0
parent 2946 74c77317f502
--- a/components/python/netifaces/patches/00-64bit.patch	Tue Apr 07 15:49:29 2015 -0700
+++ b/components/python/netifaces/patches/00-64bit.patch	Tue Apr 07 13:31:20 2015 -0700
@@ -1,8 +1,9 @@
 # pass $CC_BITS to link_executable to make sure the linker is called
 # correctly
---- netifaces-0.8/setup.py.orig   2014-01-03 16:12:47.195304001 -0700
-+++ netifaces-0.8/setup.py    2014-01-03 16:13:35.577255946 -0700
-@@ -69,7 +69,8 @@
+
+--- netifaces-0.10.4/setup.py.~1~	2014-05-19 04:39:39.000000000 -0700
++++ netifaces-0.10.4/setup.py	2015-02-25 11:00:31.638387652 -0800
+@@ -78,7 +78,8 @@ class my_build_ext(build_ext):
                                                    output_dir=self.build_temp,
                                                    library_dirs=library_dirs,
                                                    libraries=libraries,
@@ -12,12 +13,3 @@
                      if execute:
                          abspath = os.path.abspath(os.path.join(self.build_temp,
                                                                 'conftest'))
-@@ -132,7 +132,7 @@
-               return 0;
-             }
-             """
--            if self.test_build(testrig):
-+            if self.test_build(testrig, libraries=libraries):
-                 result = True
-             else:
-                 result = False