pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gwydion-dylan Fixed violation of the ISO C99 stan...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1f7e5cf891c5
branches: trunk
changeset: 534177:1f7e5cf891c5
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Oct 13 12:19:42 2007 +0000
description:
Fixed violation of the ISO C99 standard.
diffstat:
lang/gwydion-dylan/distinfo | 3 +-
lang/gwydion-dylan/patches/patch-ad | 51 +++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+), 1 deletions(-)
diffs (69 lines):
diff -r e9894287a816 -r 1f7e5cf891c5 lang/gwydion-dylan/distinfo
--- a/lang/gwydion-dylan/distinfo Sat Oct 13 12:04:28 2007 +0000
+++ b/lang/gwydion-dylan/distinfo Sat Oct 13 12:19:42 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/12/31 22:42:31 markd Exp $
+$NetBSD: distinfo,v 1.2 2007/10/13 12:19:42 rillig Exp $
SHA1 (gwydion-dylan-2.4.0.tar.gz) = 6fea71a876013fff94a37f8a84fdc5d8245e8c9f
RMD160 (gwydion-dylan-2.4.0.tar.gz) = 2bd5218e1dd36182489e1854c92ae6baf5690974
@@ -6,3 +6,4 @@
SHA1 (patch-aa) = 9cc842772e56f389572031e0550606c00fc740f5
SHA1 (patch-ab) = 155336fc1d07f10d675b95d4c2b524b8bfbbaa4e
SHA1 (patch-ac) = 436d1e853e724c5d4ea4d9c83a6f267124f9402b
+SHA1 (patch-ad) = 5364bc178130ffc9100ec795b9195255e8e91835
diff -r e9894287a816 -r 1f7e5cf891c5 lang/gwydion-dylan/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gwydion-dylan/patches/patch-ad Sat Oct 13 12:19:42 2007 +0000
@@ -0,0 +1,51 @@
+$NetBSD: patch-ad,v 1.1 2007/10/13 12:19:43 rillig Exp $
+
+See ISO C99, 6.7.1p5.
+
+--- d2c/runtime/c-code/float.c.orig 2003-07-23 17:08:58.000000000 +0200
++++ d2c/runtime/c-code/float.c 2007-10-13 14:10:40.000000000 +0200
+@@ -101,11 +101,12 @@ long double (logl)(long double x)
+
+ #define SQRTHL 0.70710678118654752440L
+
+-long double (logl)(long double x)
+-{
+ static long double polevll(long double, long double *, size_t);
+ static long double p1evll(long double, long double *, size_t);
+
++long double (logl)(long double x)
++{
++
+ /* Coefficients for log(1+x) = x - x**2/2 + x**3 P(x)/Q(x) 1/sqrt(2) <= x <
+ * sqrt(2) Theoretical peak relative error = 2.32e-20
+ */
+@@ -229,11 +230,12 @@ long double (log2l)(long double x)
+ #define LOG2EAL 4.4269504088896340735992e-1L
+ #define SQRTHL 0.70710678118654752440L
+
+-long double (log2l)(long double x)
+-{
+ static long double polevll(long double, long double *, size_t);
+ static long double p1evll(long double, long double *, size_t);
+
++long double (log2l)(long double x)
++{
++
+ static long double P[] = {
+ 4.9962495940332550844739E-1L,
+ 1.0767376367209449010438E1L,
+@@ -362,11 +364,12 @@ long double (log10l)(long double x)
+
+ #define SQRTHL 0.70710678118654752440L
+
+-long double (log10l)(long double x)
+-{
+ static long double polevll(long double, long double *, size_t);
+ static long double p1evll(long double, long double *, size_t);
+
++long double (log10l)(long double x)
++{
++
+ /* Coefficients for log(1+x) = x - x**2/2 + x**3 P(x)/Q(x) 1/sqrt(2) <= x <
+ * sqrt(2) Theoretical peak relative error = 6.2e-22
+ */
Home |
Main Index |
Thread Index |
Old Index