summaryrefslogtreecommitdiff
path: root/math/lcalc/files/patch-include_Lcommandline__elliptic.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/lcalc/files/patch-include_Lcommandline__elliptic.h')
-rw-r--r--math/lcalc/files/patch-include_Lcommandline__elliptic.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/lcalc/files/patch-include_Lcommandline__elliptic.h b/math/lcalc/files/patch-include_Lcommandline__elliptic.h
new file mode 100644
index 000000000000..417c58ee30d1
--- /dev/null
+++ b/math/lcalc/files/patch-include_Lcommandline__elliptic.h
@@ -0,0 +1,20 @@
+--- include/Lcommandline_elliptic.h.orig 2012-08-08 21:21:55 UTC
++++ include/Lcommandline_elliptic.h
+@@ -18,6 +18,8 @@
+ with the package; see the file 'COPYING'. If not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
++ Patches borrowed from SageMath.
++
+ */
+
+
+@@ -32,7 +34,7 @@
+
+
+ #ifdef INCLUDE_PARI
+-#include "pari.h" //for pari's elliptic curve functions
++#include "pari/pari.h" //for pari's elliptic curve functions
+ #undef init //pari has a '#define init pari_init' which
+ //causes trouble with the stream.h init.
+ //pari also causes trouble with things like abs.