diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-26 18:04:34 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-26 19:30:20 +0800 |
commit | a0562b14f32aa6c00b1046a040dfcd5c5dce8b3a (patch) | |
tree | cbfa5d6fc8e998cb453ae8741a4da56a55a57dce /math/py-CyLP/files | |
parent | mail/pear-Horde_Smtp: Add NO_ARCH (diff) |
math/py-CyLP: Allow build with cython 3.1.0+
- Bump PORTREVISION for package change
Diffstat (limited to 'math/py-CyLP/files')
-rw-r--r-- | math/py-CyLP/files/patch-cython | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/math/py-CyLP/files/patch-cython b/math/py-CyLP/files/patch-cython new file mode 100644 index 000000000000..790d2e24b939 --- /dev/null +++ b/math/py-CyLP/files/patch-cython @@ -0,0 +1,10 @@ +--- cylp/cy/CyClpSimplex.pyx.orig 2024-08-20 08:36:08 UTC ++++ cylp/cy/CyClpSimplex.pyx +@@ -20,6 +20,7 @@ from cylp.cy cimport CyCoinMpsIO + from cylp.py.pivots.DualPivotPythonBase import DualPivotPythonBase + from cylp.py.modeling.CyLPModel import CyLPModel + from cylp.cy cimport CyCoinMpsIO ++from ctypes import c_long as long + + # Initialize numpy + np.import_array() |