diff options
-rw-r--r-- | math/ltm/Makefile | 3 | ||||
-rw-r--r-- | math/ltm/distinfo | 3 | ||||
-rw-r--r-- | math/ltm/patches/patch-bn__mp__set__double.c | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/math/ltm/Makefile b/math/ltm/Makefile index 2a6de1dcfa6..9bd2332845e 100644 --- a/math/ltm/Makefile +++ b/math/ltm/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.24 2020/01/24 10:08:20 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2020/09/14 18:23:41 joerg Exp $ DISTNAME= ltm-1.2.0 +PKGREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GITHUB:=libtom/} GITHUB_PROJECT= libtommath diff --git a/math/ltm/distinfo b/math/ltm/distinfo index 89ab4fca147..c9f57539fd4 100644 --- a/math/ltm/distinfo +++ b/math/ltm/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.11 2020/01/24 10:08:20 wiz Exp $ +$NetBSD: distinfo,v 1.12 2020/09/14 18:23:41 joerg Exp $ SHA1 (ltm-1.2.0.tar.xz) = f0a9bcf805b6eb2ba3606bcb70989517eef58635 RMD160 (ltm-1.2.0.tar.xz) = fe6b5cbc12191a492efb2999cb88b765bc984b5d SHA512 (ltm-1.2.0.tar.xz) = 6f9ccd0691831f07f86ddc81cb6145504b3d5da66dd3e92312c64cce0ea986fa4e08ba65ca8991aaebe56702c2d7c15f309696785b813dffb4c112a4ad04b203 Size (ltm-1.2.0.tar.xz) = 622120 bytes +SHA1 (patch-bn__mp__set__double.c) = a9ceb70ee7935bd6026a97cf4adf82a0d5e0003c diff --git a/math/ltm/patches/patch-bn__mp__set__double.c b/math/ltm/patches/patch-bn__mp__set__double.c new file mode 100644 index 00000000000..c0896340106 --- /dev/null +++ b/math/ltm/patches/patch-bn__mp__set__double.c @@ -0,0 +1,13 @@ +$NetBSD: patch-bn__mp__set__double.c,v 1.1 2020/09/14 18:23:41 joerg Exp $ + +--- bn_mp_set_double.c.orig 2020-08-30 18:29:21.656239545 +0000 ++++ bn_mp_set_double.c +@@ -3,7 +3,7 @@ + /* LibTomMath, multiple-precision integer library -- Tom St Denis */ + /* SPDX-License-Identifier: Unlicense */ + +-#if defined(__STDC_IEC_559__) || defined(__GCC_IEC_559) ++#if defined(__STDC_IEC_559__) || defined(__GCC_IEC_559) || !defined(__vax__) + mp_err mp_set_double(mp_int *a, double b) + { + uint64_t frac; |