summaryrefslogtreecommitdiff
path: root/libre/sagemath/cython-0.23.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/sagemath/cython-0.23.patch')
-rw-r--r--libre/sagemath/cython-0.23.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/sagemath/cython-0.23.patch b/libre/sagemath/cython-0.23.patch
new file mode 100644
index 000000000..2ae14ad57
--- /dev/null
+++ b/libre/sagemath/cython-0.23.patch
@@ -0,0 +1,16 @@
+diff --git a/src/sage/libs/polybori/decl.pxd b/src/sage/libs/polybori/decl.pxd
+index b8fcc6e..6ec4bce 100644
+--- a/src/sage/libs/polybori/decl.pxd
++++ b/src/sage/libs/polybori/decl.pxd
+@@ -10,8 +10,8 @@ cdef extern from "sage/libs/polybori/pb_wrap.h":
+ pbdp_asc "CTypes::dp_asc"
+ pbblock_dlex "CTypes::block_dlex"
+ pbblock_dp_asc "CTypes::block_dp_asc"
+- pbdp "17"
+- pbblock_dp "19"
++ pbdp "static_cast<COrderEnums::ordercodes>(17)"
++ pbblock_dp "static_cast<COrderEnums::ordercodes>(19)"
+
+ cdef enum comparecodes "CCompareEnums::comparecodes":
+ less_than "CTypes::less_than"
+