pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/xemacs-current/patches Upgrade to XEmacs 21.5.34
details: https://anonhg.NetBSD.org/pkgsrc/rev/56bfab94bb87
branches: trunk
changeset: 371588:56bfab94bb87
user: hauke <hauke%pkgsrc.org@localhost>
date: Wed Nov 15 14:58:53 2017 +0000
description:
Upgrade to XEmacs 21.5.34
Prefer NAME_MAX over MAXNAMLEN, if available
Was patch-ak
diffstat:
editors/xemacs-current/patches/patch-ak | 24 --------------------
editors/xemacs-current/patches/patch-src_dired.c | 28 ++++++++++++++++++++++++
2 files changed, 28 insertions(+), 24 deletions(-)
diffs (60 lines):
diff -r c3b0c0e896f5 -r 56bfab94bb87 editors/xemacs-current/patches/patch-ak
--- a/editors/xemacs-current/patches/patch-ak Wed Nov 15 14:57:58 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2007/06/30 17:59:03 joerg Exp $
-
---- src/dired.c.orig 2004-11-04 23:06:21.000000000 +0000
-+++ src/dired.c
-@@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
- /* Synched up with: FSF 19.30. */
-
- #include <config.h>
-+#include <limits.h>
- #include "lisp.h"
-
- #include "buffer.h"
-@@ -104,7 +105,11 @@ If FILES-ONLY is the symbol t, then only
- directory = Ffile_name_as_directory (directory);
- directorylen = XSTRING_LENGTH (directory);
-
-+#ifdef NAME_MAX
-+ statbuf = alloca_ibytes (directorylen + NAME_MAX + 1);
-+#else
- statbuf = alloca_ibytes (directorylen + MAXNAMLEN + 1);
-+#endif
- memcpy (statbuf, XSTRING_DATA (directory), directorylen);
- statbuf_tail = statbuf + directorylen;
-
diff -r c3b0c0e896f5 -r 56bfab94bb87 editors/xemacs-current/patches/patch-src_dired.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xemacs-current/patches/patch-src_dired.c Wed Nov 15 14:58:53 2017 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-src_dired.c,v 1.1 2017/11/15 14:58:53 hauke Exp $
+
+Prefer NAME_MAX over MAXNAMLEN, if available
+
+Was patch-ak
+
+--- src/dired.c.orig 2013-08-21 17:43:45.000000000 +0000
++++ src/dired.c
+@@ -20,6 +20,7 @@ along with XEmacs. If not, see <http://
+ /* Synched up with: FSF 19.30. */
+
+ #include <config.h>
++#include <limits.h>
+ #include "lisp.h"
+
+ #include "buffer.h"
+@@ -103,7 +104,11 @@ If FILES-ONLY is the symbol t, then only
+ directory = Ffile_name_as_directory (directory);
+ directorylen = XSTRING_LENGTH (directory);
+
++#ifdef NAME_MAX
++ statbuf = alloca_ibytes (directorylen + NAME_MAX + 1);
++#else
+ statbuf = alloca_ibytes (directorylen + MAXNAMLEN + 1);
++#endif
+ memcpy (statbuf, XSTRING_DATA (directory), directorylen);
+ statbuf_tail = statbuf + directorylen;
+
Home |
Main Index |
Thread Index |
Old Index