diff options
author | mrg <mrg@pkgsrc.org> | 2020-09-17 10:02:20 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2020-09-17 10:02:20 +0000 |
commit | 1baf2b6084cfd6987b6725fc753825c6f0c02ed2 (patch) | |
tree | 161280e31df0e758efd8943ee72a4575cb916ab6 /lang | |
parent | 34bee26607ff5df2eaf5a4e8bfd3e2eb4e2fe0ef (diff) | |
download | pkgsrc-1baf2b6084cfd6987b6725fc753825c6f0c02ed2.tar.gz |
fix the build on netbsd/vax.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/patches/patch-numeric.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index 5acbd1eeda4..028c619e7d1 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.166 2020/09/04 10:10:28 js Exp $ +$NetBSD: distinfo,v 1.167 2020/09/17 10:02:20 mrg Exp $ SHA1 (perl-5.32.0.tar.xz) = 0426c89d8ad5542def3e0065c299d449230aeb6c RMD160 (perl-5.32.0.tar.xz) = d28af2b0b2fc762f9d0dbf267f81e16d5657bd60 @@ -16,3 +16,4 @@ SHA1 (patch-hints_linux.sh) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7 SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646 SHA1 (patch-hints_solaris__2.sh) = 364a28ca57dbabe1f902b601e336532996db6a0e SHA1 (patch-installperl) = 0ad5988b7cadfb13d9646a59a57f6cf884a6238a +SHA1 (patch-numeric.c) = 53dc8da40ad21d97072e8e2000f0a16c3353ff41 diff --git a/lang/perl5/patches/patch-numeric.c b/lang/perl5/patches/patch-numeric.c new file mode 100644 index 00000000000..2c121b804ee --- /dev/null +++ b/lang/perl5/patches/patch-numeric.c @@ -0,0 +1,17 @@ +$NetBSD: patch-numeric.c,v 1.1 2020/09/17 10:02:20 mrg Exp $ + +fix vax build. + +--- numeric.c.orig 2020-06-14 23:01:25.000000000 +0000 ++++ numeric.c 2020-09-17 05:44:47.431800053 +0000 +@@ -1655,8 +1655,10 @@ + char* endp; + char* copy = NULL; + ++#if defined(NV_INF) || defined(NV_NAN) + if ((endp = S_my_atof_infnan(aTHX_ s, negative, send, value))) + return endp; ++#endif + + /* strtold() accepts 0x-prefixed hex and in POSIX implementations, + 0b-prefixed binary numbers, which is backward incompatible |