summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2017-11-15 15:04:25 +0000
committerhauke <hauke@pkgsrc.org>2017-11-15 15:04:25 +0000
commitce4e53d8715d13235a90796f9eca06bdf8f18d90 (patch)
tree695a00e95343b3c96bf1fe522ebf3647b1c03408 /editors
parentf3e4cf7990eadb0ebe9dfd0a9f724d5c0b2f0eaf (diff)
downloadpkgsrc-ce4e53d8715d13235a90796f9eca06bdf8f18d90.tar.gz
Upgrade to XEmacs 21.5.34
Don't try to define max_align_t in C11 or C++11 mode. Regen patch.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs-current/patches/patch-src_lisp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/editors/xemacs-current/patches/patch-src_lisp.h b/editors/xemacs-current/patches/patch-src_lisp.h
index 3c1f09fef3e..a23c18096be 100644
--- a/editors/xemacs-current/patches/patch-src_lisp.h
+++ b/editors/xemacs-current/patches/patch-src_lisp.h
@@ -1,8 +1,10 @@
-$NetBSD: patch-src_lisp.h,v 1.1 2016/03/26 23:26:14 joerg Exp $
+$NetBSD: patch-src_lisp.h,v 1.2 2017/11/15 15:04:25 hauke Exp $
---- src/lisp.h.orig 2016-03-26 13:47:05.129185443 +0000
+Don't try to define max_align_t in C11 or C++11 mode.
+
+--- src/lisp.h.orig 2013-08-21 17:43:44.000000000 +0000
+++ src/lisp.h
-@@ -957,6 +957,7 @@ typedef int Boolint;
+@@ -1156,6 +1156,7 @@ typedef int Boolint;
/* No type has a greater alignment requirement than max_align_t.
(except perhaps for types we don't use, like long double) */
@@ -10,7 +12,7 @@ $NetBSD: patch-src_lisp.h,v 1.1 2016/03/26 23:26:14 joerg Exp $
typedef union
{
struct { long l; } l;
-@@ -964,6 +965,7 @@ typedef union
+@@ -1163,6 +1164,7 @@ typedef union
struct { void (*f)(void); } f;
struct { double d; } d;
} max_align_t;