Ticket #12835: libfplll-4.0.4.diff

File libfplll-4.0.4.diff, 2.2 KB (added by jpflori, 8 years ago)

Spkg diff, for review only.

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    22
    33== Description ==
    44
    5 fpLLL-3.0.7  contains different implementations of the floating-point LLL reduction algorithm, offering different speed/guarantees ratios. It contains a 'wrapper' choosing the estimated best sequence of variants in order to provide a guaranteed output as fast as possible. In the case of the wrapper, the succession of variants is oblivious to the user.
     5fplll is a code distributed under the LGPL that LLL-reduces euclidean lattices.
     6Since version 3, it can also solve the shortest vector problem.
    67
    7 Website: http://perso.ens-lyon.fr/damien.stehle/english.html
     8Website: http://perso.ens-lyon.fr/damien.stehle/fplll.html
    89
    910== License ==
    10  * LGPL V2+
     11 * LGPL V2.1+
    1112
    1213== SPKG Maintainers ==
    1314 * Martin Albrecht
    1415
    1516== Upstream Contact ==
    16  * Damien Stehle
    17  * David Cade
     17 * Damien Stehlé (damien.stehle@ens-lyon.fr)
    1818
    1919== Dependencies ==
    2020 * gmp
     
    2222
    2323== Changelog ==
    2424
    25 === libfplll-3.0.12.p3 (Simon King, 6 December 2011) ===
     25=== libfplll-4.0.4 (Jean-Pierre Flori, 30 May 2013) ===
     26 * #12835: update to version 4.0.4.
     27 * Removed dpe.h patch which has been integrated upstream.
     28
     29=== libfplll-3.0.12.p3 (Jean-Pierre Flori, 6 December 2012) ===
    2630 * #13804: Disable parallel build and install on Cygwin.
    2731 * Clean up spkg-install and spkg-check.
    2832
  • deleted file patches/dpe.h.patch

    diff --git a/patches/dpe.h.patch b/patches/dpe.h.patch
    deleted file mode 100644
    + -  
    1 --- src.orig/src/dpe.h  2009-05-21 00:45:31.888271000 -0400
    2 +++ src/src/dpe.h       2009-05-21 00:44:52.352752000 -0400
    3 @@ -25,6 +25,9 @@
    4  #include <math.h>   /* for round, floor, ceil */
    5  #if defined (__sun) /* for round on Solaris 10 */
    6  #include "tgmath.h"
    7 +#include "ieeefp.h"
    8 +#undef NAN
    9 +#define NAN 0.0/0.0
    10  #endif
    11  #include <limits.h>
    12  
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    1010
    1111echo "Applying patches to upstream sources..."
    1212for patch in ../patches/*.patch; do
     13    [ -r "$patch" ] || continue # Skip non-existing or non-readable patches
    1314    patch -p1 <"$patch"
    1415    if [ $? -ne 0 ]; then
    1516        echo >&2 "Error: '$patch' failed to apply."