PKGBUILDs/extra/python-numpy/fix-endiannes.patch
2009-09-26 09:35:50 -05:00

11 lines
399 B
Diff

--- 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: