diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-current/distinfo | 3 | ||||
-rw-r--r-- | editors/xemacs-current/patches/patch-src_lisp.h | 20 | ||||
-rw-r--r-- | editors/xemacs/distinfo | 4 | ||||
-rw-r--r-- | editors/xemacs/patches/patch-src_lisp.h | 26 |
4 files changed, 39 insertions, 14 deletions
diff --git a/editors/xemacs-current/distinfo b/editors/xemacs-current/distinfo index 4722fd497fb..65a96053ea2 100644 --- a/editors/xemacs-current/distinfo +++ b/editors/xemacs-current/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.27 2016/01/29 15:46:48 joerg Exp $ +$NetBSD: distinfo,v 1.28 2016/03/26 23:26:14 joerg Exp $ SHA1 (xemacs-21.5.27.tar.gz) = 55fc3e9c8fe3cac92791ffe1a0870aeae1baf0b8 RMD160 (xemacs-21.5.27.tar.gz) = ee0caff8730c999d37aa3a19b19f23d5756837ad @@ -20,3 +20,4 @@ SHA1 (patch-am) = 0ccbead4be5da92e73a15432ff1b063da13cf0b4 SHA1 (patch-an) = f382865087f011ea3806d707cbf784fac81ad746 SHA1 (patch-src_config.h.in) = 8032e1a040b46131763d40e625a1b7e841f9b233 SHA1 (patch-src_glyphs-eimage.c) = a382113190a65d27747a90e58294a41f3bb6df42 +SHA1 (patch-src_lisp.h) = a99b2c3a25c5a20f654ca217234dc49b2424262d diff --git a/editors/xemacs-current/patches/patch-src_lisp.h b/editors/xemacs-current/patches/patch-src_lisp.h new file mode 100644 index 00000000000..3c1f09fef3e --- /dev/null +++ b/editors/xemacs-current/patches/patch-src_lisp.h @@ -0,0 +1,20 @@ +$NetBSD: patch-src_lisp.h,v 1.1 2016/03/26 23:26:14 joerg Exp $ + +--- src/lisp.h.orig 2016-03-26 13:47:05.129185443 +0000 ++++ src/lisp.h +@@ -957,6 +957,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) */ ++#if (__STDC_VERSION__ - 0) < 201112L && (__cplusplus - 0) < 201103L + typedef union + { + struct { long l; } l; +@@ -964,6 +965,7 @@ typedef union + struct { void (*f)(void); } f; + struct { double d; } d; + } max_align_t; ++#endif + + /* ALIGNOF returns the required alignment of a type -- i.e. a value such + that data of this type must begin at a memory address which is a diff --git a/editors/xemacs/distinfo b/editors/xemacs/distinfo index 67bf8157eaf..ca02c20458b 100644 --- a/editors/xemacs/distinfo +++ b/editors/xemacs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.21 2016/01/17 07:51:34 richard Exp $ +$NetBSD: distinfo,v 1.22 2016/03/26 23:26:14 joerg Exp $ SHA1 (xemacs/xemacs-21.4.23.tar.gz) = b57bc569cf8d376c1e2443b6ea1f40d30271e9a6 RMD160 (xemacs/xemacs-21.4.23.tar.gz) = 9df94c576b546a4df30c29ed3b5609ee816ad43c @@ -20,6 +20,6 @@ SHA1 (patch-src_Makefile.in.in) = 28098f18870c34165b37fe11e84cbd6f5584bc63 SHA1 (patch-src_config.h.in) = 9a031ace4ca6f89dacbf599484d9fcd410d7841f SHA1 (patch-src_dired.c) = 98f1c076c29385e3d5052cdb84d067f6cec8bc22 SHA1 (patch-src_glyphs-eimage.c) = ea561758dd454003eb3274508087fd302d9d9fd4 -SHA1 (patch-src_lisp.h) = 92f866c17745a3bf664c3c1153249f15fffb1866 +SHA1 (patch-src_lisp.h) = eb3247faef98f889cd6c95584395f97b1d29e2f7 SHA1 (patch-src_unexelf.c) = 738d09ea8a3d10b609e474b0efb8806d3e302bf9 SHA1 (patch-src_unexfreebsd.c) = 89ce80b21fa5d6cf8be98762183c6a8b0d8f71dd diff --git a/editors/xemacs/patches/patch-src_lisp.h b/editors/xemacs/patches/patch-src_lisp.h index 63e04f31d6a..c65f23ff525 100644 --- a/editors/xemacs/patches/patch-src_lisp.h +++ b/editors/xemacs/patches/patch-src_lisp.h @@ -1,16 +1,20 @@ -$NetBSD: patch-src_lisp.h,v 1.2 2015/02/04 09:19:20 hauke Exp $ +$NetBSD: patch-src_lisp.h,v 1.3 2016/03/26 23:26:14 joerg Exp $ ---- src/lisp.h.orig 2015-01-29 15:04:29.000000000 +0000 +--- src/lisp.h.orig 2016-03-26 15:03:47.482901440 +0000 +++ src/lisp.h -@@ -265,6 +265,11 @@ void assert_failed (const char *, int, c - /*#define REGISTER register*/ - /*#endif*/ +@@ -195,6 +195,7 @@ void xfree (void *); -+#if SIZEOF_LONG == 8 -+#define UINT_64_BIT unsigned long -+#elif SIZEOF_LONG_LONG == 8 -+#define UINT_64_BIT unsigned long long + /* No type has a greater alignment requirement than max_align_t. + (except perhaps for types we don't use, like long double) */ ++#if (__STDC_VERSION__ - 0) < 201112L && (__cplusplus - 0) < 201103L + typedef union + { + struct { long l; } l; +@@ -202,6 +203,7 @@ typedef union + struct { void (*f)(void); } f; + struct { double d; } d; + } max_align_t; +#endif - /* EMACS_INT is the underlying integral type into which a Lisp_Object must fit. - In particular, it must be large enough to contain a pointer. + #ifndef ALIGNOF + # if defined (__GNUC__) && (__GNUC__ >= 2) |