pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/ltm Assume non-VAX uses IEEE754 floats. While it ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0f4c0552b906
branches: trunk
changeset: 439232:0f4c0552b906
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Sep 14 18:23:41 2020 +0000
description:
Assume non-VAX uses IEEE754 floats. While it doesn't make a difference
for GCC here, clang doesn't define the same macros by default.
Bump revision.
diffstat:
math/ltm/Makefile | 3 ++-
math/ltm/distinfo | 3 ++-
math/ltm/patches/patch-bn__mp__set__double.c | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 547a2ad9001d -r 0f4c0552b906 math/ltm/Makefile
--- a/math/ltm/Makefile Mon Sep 14 18:21:36 2020 +0000
+++ b/math/ltm/Makefile Mon Sep 14 18:23:41 2020 +0000
@@ -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 -r 547a2ad9001d -r 0f4c0552b906 math/ltm/distinfo
--- a/math/ltm/distinfo Mon Sep 14 18:21:36 2020 +0000
+++ b/math/ltm/distinfo Mon Sep 14 18:23:41 2020 +0000
@@ -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 -r 547a2ad9001d -r 0f4c0552b906 math/ltm/patches/patch-bn__mp__set__double.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ltm/patches/patch-bn__mp__set__double.c Mon Sep 14 18:23:41 2020 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index