ports/math/py-CyLP/files/patch-cython
Po-Chuan Hsieh a0562b14f3
math/py-CyLP: Allow build with cython 3.1.0+
- Bump PORTREVISION for package change
2025-06-26 19:30:20 +08:00

11 lines
366 B
Plaintext

--- 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()