pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/ltm



Module Name:    pkgsrc
Committed By:   joerg
Date:           Mon Sep 14 18:23:41 UTC 2020

Modified Files:
        pkgsrc/math/ltm: Makefile distinfo
Added Files:
        pkgsrc/math/ltm/patches: patch-bn__mp__set__double.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/math/ltm/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/math/ltm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/ltm/patches/patch-bn__mp__set__double.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/ltm/Makefile
diff -u pkgsrc/math/ltm/Makefile:1.24 pkgsrc/math/ltm/Makefile:1.25
--- pkgsrc/math/ltm/Makefile:1.24       Fri Jan 24 10:08:20 2020
+++ pkgsrc/math/ltm/Makefile    Mon Sep 14 18:23:41 2020
@@ -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

Index: pkgsrc/math/ltm/distinfo
diff -u pkgsrc/math/ltm/distinfo:1.11 pkgsrc/math/ltm/distinfo:1.12
--- pkgsrc/math/ltm/distinfo:1.11       Fri Jan 24 10:08:20 2020
+++ pkgsrc/math/ltm/distinfo    Mon Sep 14 18:23:41 2020
@@ -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

Added files:

Index: pkgsrc/math/ltm/patches/patch-bn__mp__set__double.c
diff -u /dev/null pkgsrc/math/ltm/patches/patch-bn__mp__set__double.c:1.1
--- /dev/null   Mon Sep 14 18:23:41 2020
+++ pkgsrc/math/ltm/patches/patch-bn__mp__set__double.c Mon Sep 14 18:23:41 2020
@@ -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