pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/sparse Fallback to strtod on DragonFly. Limit it...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6fbffb838b55
branches: trunk
changeset: 529902:6fbffb838b55
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jun 12 14:48:33 2007 +0000
description:
Fallback to strtod on DragonFly. Limit it until the 2.0 release for now.
diffstat:
devel/sparse/distinfo | 3 ++-
devel/sparse/patches/patch-ab | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r a666e91a1d11 -r 6fbffb838b55 devel/sparse/distinfo
--- a/devel/sparse/distinfo Tue Jun 12 14:39:22 2007 +0000
+++ b/devel/sparse/distinfo Tue Jun 12 14:48:33 2007 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/05/21 20:46:43 reed Exp $
+$NetBSD: distinfo,v 1.2 2007/06/12 14:48:33 joerg Exp $
SHA1 (sparse-0.3.tar.gz) = 1d868b29234176abd5f3f5463aad1f11d5268dc2
RMD160 (sparse-0.3.tar.gz) = 36bb7e5611f56c5b222f33a0853e8315af406704
Size (sparse-0.3.tar.gz) = 177462 bytes
SHA1 (patch-aa) = 234aa80cdd04835b9a8b2bfe4e41b0c7a1f07ff2
+SHA1 (patch-ab) = 4240f8ff570592da6d838815edcb6a7976f23a07
diff -r a666e91a1d11 -r 6fbffb838b55 devel/sparse/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/sparse/patches/patch-ab Tue Jun 12 14:48:33 2007 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1 2007/06/12 14:48:33 joerg Exp $
+
+--- compat/strtold.c.orig 2007-06-12 14:35:09.000000000 +0000
++++ compat/strtold.c
+@@ -1,6 +1,14 @@
++#if defined(__DragonFly__)
++#include <sys/param.h>
++#endif
++
+ #include <stdlib.h>
+
+ long double string_to_ld(const char *nptr, char **endptr)
+ {
++#if defined(__DragonFly__) && __DragonFly_version < 200000
++ return strtod(nptr, endptr);
++#else
+ return strtold(nptr, endptr);
++#endif
+ }
Home |
Main Index |
Thread Index |
Old Index