summaryrefslogtreecommitdiff
path: root/libre/sagemath/sagemath-no-anal.h.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-29 20:51:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-29 21:00:38 -0300
commita4b56212bb9f2cef37090fb36f8d92baaea1c369 (patch)
treebcbf7ee2e9702ef041a6b009b1d1ad023a2c0f5b /libre/sagemath/sagemath-no-anal.h.patch
parentf1db03f532b35caca1032058233347c584d0be83 (diff)
downloadabslibre-a4b56212bb9f2cef37090fb36f8d92baaea1c369.tar.gz
abslibre-a4b56212bb9f2cef37090fb36f8d92baaea1c369.tar.bz2
abslibre-a4b56212bb9f2cef37090fb36f8d92baaea1c369.zip
sagemath-7.5.1-4.parabola1: reenable fes module, fix build with planarity 3
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()