aboutsummaryrefslogtreecommitdiff
path: root/devel/py-pythran/files/patch-pythran_dist.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pythran/files/patch-pythran_dist.py')
-rw-r--r--devel/py-pythran/files/patch-pythran_dist.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/py-pythran/files/patch-pythran_dist.py b/devel/py-pythran/files/patch-pythran_dist.py
new file mode 100644
index 000000000000..10a0ee69fd59
--- /dev/null
+++ b/devel/py-pythran/files/patch-pythran_dist.py
@@ -0,0 +1,11 @@
+--- pythran/dist.py.orig 2024-10-17 07:42:48 UTC
++++ pythran/dist.py
+@@ -92,7 +92,7 @@ class PythranBuildExtMixIn(object):
+ return find_exe(exe, *args, **kwargs)
+
+ msvc._find_exe = _find_exe
+- except ImportError:
++ except (AttributeError, ImportError):
+ pass
+
+ # In general, distutils uses -Wstrict-prototypes, but this option