pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/emacs25 emacs25: handle NAN not existing on VAX.
details: https://anonhg.NetBSD.org/pkgsrc/rev/37f60ff8c85c
branches: trunk
changeset: 377629:37f60ff8c85c
user: maya <maya%pkgsrc.org@localhost>
date: Wed Mar 21 08:48:15 2018 +0000
description:
emacs25: handle NAN not existing on VAX.
diffstat:
editors/emacs25/distinfo | 3 ++-
editors/emacs25/patches/patch-src_lread.c | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 67bdfe560e84 -r 37f60ff8c85c editors/emacs25/distinfo
--- a/editors/emacs25/distinfo Wed Mar 21 07:57:03 2018 +0000
+++ b/editors/emacs25/distinfo Wed Mar 21 08:48:15 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2017/09/13 14:21:34 ryoon Exp $
+$NetBSD: distinfo,v 1.7 2018/03/21 08:48:15 maya Exp $
SHA1 (emacs-25.3.tar.gz) = 82ad18404d460e32be29aa883a0e6bfc1901ae75
RMD160 (emacs-25.3.tar.gz) = 8740bb96aeab77cd35c6d4625f3676991281c7bc
SHA512 (emacs-25.3.tar.gz) = cd3f51ee5f6c95481f22cd48abfe1d4df1407207ed4b046c9563b24d524f85aa80f15900755091d532c31ea9bd9f6978300128c480d74d28b6b937f96846b1bb
Size (emacs-25.3.tar.gz) = 62988771 bytes
SHA1 (patch-src_inotify.c) = 1fdc6566ed57e8418f1ddc85bb03518d7d9d6bb3
+SHA1 (patch-src_lread.c) = a1edaea258b00ba10c176a8ad27711dcac1af7c1
diff -r 67bdfe560e84 -r 37f60ff8c85c editors/emacs25/patches/patch-src_lread.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs25/patches/patch-src_lread.c Wed Mar 21 08:48:15 2018 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_lread.c,v 1.1 2018/03/21 08:48:15 maya Exp $
+
+Handle NAN not existing (VAX)
+
+--- src/lread.c.orig 2017-04-14 15:02:47.000000000 +0000
++++ src/lread.c
+@@ -3429,6 +3429,7 @@ string_to_number (char const *string, in
+ cp += 3;
+ value = INFINITY;
+ }
++#if 0
+ else if (cp[-1] == '+'
+ && cp[0] == 'N' && cp[1] == 'a' && cp[2] == 'N')
+ {
+@@ -3437,6 +3438,7 @@ string_to_number (char const *string, in
+ /* NAN is a "positive" NaN on all known Emacs hosts. */
+ value = NAN;
+ }
++#endif
+ else
+ cp = ecp;
+ }
Home |
Main Index |
Thread Index |
Old Index