pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/emacs25



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed Mar 21 08:48:16 UTC 2018

Modified Files:
        pkgsrc/editors/emacs25: distinfo
Added Files:
        pkgsrc/editors/emacs25/patches: patch-src_lread.c

Log Message:
emacs25: handle NAN not existing on VAX.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/editors/emacs25/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/emacs25/patches/patch-src_lread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/emacs25/distinfo
diff -u pkgsrc/editors/emacs25/distinfo:1.6 pkgsrc/editors/emacs25/distinfo:1.7
--- pkgsrc/editors/emacs25/distinfo:1.6 Wed Sep 13 14:21:34 2017
+++ pkgsrc/editors/emacs25/distinfo     Wed Mar 21 08:48:15 2018
@@ -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

Added files:

Index: pkgsrc/editors/emacs25/patches/patch-src_lread.c
diff -u /dev/null pkgsrc/editors/emacs25/patches/patch-src_lread.c:1.1
--- /dev/null   Wed Mar 21 08:48:16 2018
+++ pkgsrc/editors/emacs25/patches/patch-src_lread.c    Wed Mar 21 08:48:15 2018
@@ -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