diff options
Diffstat (limited to '')
-rw-r--r-- | math/py-CyLP/Makefile | 2 | ||||
-rw-r--r-- | math/py-CyLP/files/patch-cython | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/math/py-CyLP/Makefile b/math/py-CyLP/Makefile index 24e953829189..088d382fadea 100644 --- a/math/py-CyLP/Makefile +++ b/math/py-CyLP/Makefile @@ -1,7 +1,7 @@ PORTNAME= CyLP DISTVERSIONPREFIX= v DISTVERSION= 0.92.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 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() |