Package: lcalc / 1.23+dfsg-6

Metadata

Package Version Patches format
lcalc 1.23+dfsg-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
gcc.patch | (download)

include/Lcommon.h | 14 7 + 7 - 0 !
src/Lglobals.cc | 1 1 + 0 - 0 !
2 files changed, 8 insertions(+), 7 deletions(-)

 fix ftbfs with newer gcc
pari_2.7.patch | (download)

src/Lcommandline.cc | 2 1 + 1 - 0 !
src/Lcommandline_elliptic.cc | 12 6 + 6 - 0 !
2 files changed, 7 insertions(+), 7 deletions(-)

 port to pari 2.7 api
Makefile.patch | (download)

src/Makefile | 80 38 + 42 - 0 !
1 file changed, 38 insertions(+), 42 deletions(-)

 various makefile adjustments.
 * This patch was taken from the Sage spkg 1.23.p10
   and further changed by me (Tobias Hansen).
 * Use $CC, $CXX, $CXXFLAGS and $CPPFLAGS (properly).
 * Change PARI location.
 * Remove some LDFLAGS.
 * Add a SONAME to libLfunction.so.
fix_pari_include.patch | (download)

include/Lcommandline.h | 2 1 + 1 - 0 !
include/Lcommandline_elliptic.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use the proper pari include pari/pari.h
 This is necessary for Pari 2.7 because it now uses multiarch
 include paths.
lcalc 1.23_default_parameters_1.patch | (download)

include/L.h | 2 1 + 1 - 0 !
include/Ldirichlet_series.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 make lcalc (1.23) build with gcc 4.9 (move default parameter from definition to declaration)
 This patch just fixes the single instance GCC 4.9 currently complains
 about. Clang is more picky, and will need further fixes (including
 moving a few more invalid default parameters in function *definitions*
 into *declarations* instead).
init_stack.patch | (download)

include/Lcommandline.h | 6 1 + 5 - 0 !
src/Lcommandline.cc | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 6 deletions(-)

 make lcalc allocate a larger pari stack
lcalc 1.23_default_parameters_2.patch | (download)

include/Lgamma.h | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 make lcalc (1.23) build with gcc 5 (remove default parameters from definitions)
 GCC 5.1 (i.e., g++) again got stricter with respect to C++ conformance,
 and hence another piece of the changes necessary to let Lcalc build with
 Clang (cf. Sage trac #12437) is needed for g++ as well, namely forbidden
 default parameters in function definitions ("Part II").
pari apell.patch | (download)

src/Lcommandline_elliptic.cc | 16 8 + 8 - 0 !
1 file changed, 8 insertions(+), 8 deletions(-)

 this is required in order to build against pari 2.9.
pari init stack.patch | (download)

src/Lcommandline.cc | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 always use pari_init_stack
 This is required in order to build against PARI 2.9.