pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 fix the build on netbsd/vax.
details: https://anonhg.NetBSD.org/pkgsrc/rev/70eec76ac544
branches: trunk
changeset: 439294:70eec76ac544
user: mrg <mrg%pkgsrc.org@localhost>
date: Thu Sep 17 10:02:20 2020 +0000
description:
fix the build on netbsd/vax.
diffstat:
lang/perl5/distinfo | 3 ++-
lang/perl5/patches/patch-numeric.c | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 94386b130224 -r 70eec76ac544 lang/perl5/distinfo
--- a/lang/perl5/distinfo Thu Sep 17 08:56:48 2020 +0000
+++ b/lang/perl5/distinfo Thu Sep 17 10:02:20 2020 +0000
@@ -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_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646
SHA1 (patch-hints_solaris__2.sh) = 364a28ca57dbabe1f902b601e336532996db6a0e
SHA1 (patch-installperl) = 0ad5988b7cadfb13d9646a59a57f6cf884a6238a
+SHA1 (patch-numeric.c) = 53dc8da40ad21d97072e8e2000f0a16c3353ff41
diff -r 94386b130224 -r 70eec76ac544 lang/perl5/patches/patch-numeric.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl5/patches/patch-numeric.c Thu Sep 17 10:02:20 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index