summaryrefslogtreecommitdiff
path: root/libre/sagemath/sagemath-no-anal.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/sagemath/sagemath-no-anal.h.patch')
-rw-r--r--libre/sagemath/sagemath-no-anal.h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/sagemath/sagemath-no-anal.h.patch b/libre/sagemath/sagemath-no-anal.h.patch
new file mode 100644
index 000000000..f1b261321
--- /dev/null
+++ b/libre/sagemath/sagemath-no-anal.h.patch
@@ -0,0 +1,12 @@
+diff --git a/src/sage/libs/cypari2/paripriv.pxd b/src/sage/libs/cypari2/paripriv.pxd
+index b6ea381..921599d 100644
+--- a/src/sage/libs/cypari2/paripriv.pxd
++++ b/src/sage/libs/cypari2/paripriv.pxd
+@@ -26,5 +26,5 @@ cdef extern from "pari/paripriv.h":
+
+ extern gp_data* GP_DATA
+
+-cdef extern from "pari/anal.h":
+- char* closure_func_err()
++cdef extern: # Declared in private PARI header file "anal.h"
++ const char* closure_func_err()