diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2013-12-28 22:44:23 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2013-12-28 22:44:23 +0000 |
commit | d5dd9a8f30d2047cf73c0bcc6477b09f98214c6f (patch) | |
tree | 3549cf5b4ab496342e045de6981fa0e819e46d76 /devel/sparse | |
parent | 5a2809d2269c35f37ef1faba07a458c079880124 (diff) | |
download | pkgsrc-d5dd9a8f30d2047cf73c0bcc6477b09f98214c6f.tar.gz |
Fix MirBSD build of sparse.
Diffstat (limited to 'devel/sparse')
-rw-r--r-- | devel/sparse/distinfo | 4 | ||||
-rw-r--r-- | devel/sparse/patches/patch-ab | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/devel/sparse/distinfo b/devel/sparse/distinfo index 26c16e38f93..c4279fb9d8f 100644 --- a/devel/sparse/distinfo +++ b/devel/sparse/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.5 2013/04/02 15:27:11 dholland Exp $ +$NetBSD: distinfo,v 1.6 2013/12/28 22:44:23 bsiegert Exp $ SHA1 (sparse-0.4.4.tar.xz) = 89e74aa638d3b44b0d155ab44edd2165d66c60ab RMD160 (sparse-0.4.4.tar.xz) = 06af3de3350d5c81db3902fb38f5331d20c8a406 Size (sparse-0.4.4.tar.xz) = 178152 bytes SHA1 (patch-Makefile) = 7c099c1cf275c324ab7cd7a2a701c2fb3a3a7be4 -SHA1 (patch-ab) = 00e9304099c8ba7093e827449fbfe4219045bf40 +SHA1 (patch-ab) = aed1b3bd22529e8ec9ec2a359dd250cfec1af2c1 SHA1 (patch-dissect.h) = 850271dbec6758380134c3e36fb5a885cf69259e diff --git a/devel/sparse/patches/patch-ab b/devel/sparse/patches/patch-ab index 854b765eff1..67ffcf4d6e5 100644 --- a/devel/sparse/patches/patch-ab +++ b/devel/sparse/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.2 2013/04/02 15:27:12 dholland Exp $ +$NetBSD: patch-ab,v 1.3 2013/12/28 22:44:23 bsiegert Exp $ -(Very?) old dfly apparently doesn't have strtold. +(Very?) old dfly apparently doesn't have strtold. Same for MirBSD. --- compat/strtold.c.orig 2007-06-12 14:35:09.000000000 +0000 +++ compat/strtold.c @@ -13,7 +13,7 @@ $NetBSD: patch-ab,v 1.2 2013/04/02 15:27:12 dholland Exp $ long double string_to_ld(const char *nptr, char **endptr) { -+#if defined(__DragonFly__) && __DragonFly_version < 200000 ++#if (defined(__DragonFly__) && __DragonFly_version < 200000) || defined(__MirBSD__) + return strtod(nptr, endptr); +#else return strtold(nptr, endptr); |