Commit 5e31b15a authored by Tobias Hansen's avatar Tobias Hansen

Build with pari 2.7.

parent fb527f7c
lcalc (1.23+dfsg-2) UNRELEASED; urgency=medium
* Add patch fix_pari_include.patch:
Fix pari includes to work with Pari 2.7 in Debian. (Closes: #743327)
* Move pari_2.5.patch to pari_2.7.patch
and add add further change (call ellinit with 3 parameters). (Closes: #743327)
-- Tobias Hansen <thansen@debian.org> Sun, 06 Apr 2014 21:28:14 +0200
lcalc (1.23+dfsg-1) unstable; urgency=low
* Repack tarball to remove binary file.
......
Description: Use the proper Pari include pari/pari.h
This is necessary for Pari 2.7 because it now uses multiarch
include paths.
Author: Tobias Hansen <thansen@debian.org>
Bug-Debian: http://bugs.debian.org/743327
--- a/include/Lcommandline.h
+++ b/include/Lcommandline.h
@@ -39,7 +39,7 @@
#include "Lcommandline_globals.h" //command line global variables
#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.
--- a/include/Lcommandline_elliptic.h
+++ b/include/Lcommandline_elliptic.h
@@ -32,7 +32,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.
Description: Port to pari 2.5 API
Description: Port to pari 2.7 API
Author: Luca Falavigna <dktrkranz@debian.org>
Tobias Hansen <thansen@debian.org>
Bug-Debian: http://bugs.debian.org/635506
http://bugs.debian.org/743327
--- a/src/Lcommandline.cc
+++ b/src/Lcommandline.cc
......@@ -32,3 +34,12 @@ Bug-Debian: http://bugs.debian.org/635506
//gaffsg(a1,(GEN) F[1]);
//gaffsg(a2,(GEN) F[2]);
@@ -139,7 +139,7 @@
gaffect(strtoGEN(a4), (GEN) F[4]);
gaffect(strtoGEN(a6), (GEN) F[5]);
- E = initell(F,BIGDEFAULTPREC);
+ E = ellinit(F, NULL, BIGDEFAULTPREC);
C=globalreduction(E);
gcc.patch
pari_2.5.patch
pari_2.7.patch
Makefile.patch
fix_pari_include.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment