PKGBUILDs/extra/python-numpy/fix-endiannes.patch

12 lines
399 B
Diff
Raw Normal View History

2009-09-26 14:35:50 +00:00
--- numpy/core/setup.py.orig 2009-08-20 17:14:32.000000000 +0000
+++ numpy/core/setup.py 2009-08-20 17:15:35.000000000 +0000
@@ -364,6 +364,8 @@
if is_npy_no_signal():
moredefs.append(('NPY_NO_SIGNAL', 1))
+ moredefs.append(('NPY_HAVE_ENDIAN_H', 1))
+
if is_npy_no_smp():
moredefs.append(('NPY_NO_SMP', 1))
else: