Mon Dec 24 21:08:06 2012 UTC ()
Always use static inline to fix build with C99 compilers.


(joerg)
diff -r1.17 -r1.18 pkgsrc/editors/xemacs/distinfo
diff -r0 -r1.1 pkgsrc/editors/xemacs/patches/patch-src_config.h.in

cvs diff -r1.17 -r1.18 pkgsrc/editors/xemacs/distinfo (expand / switch to context diff)
--- pkgsrc/editors/xemacs/distinfo 2012/04/27 13:53:46 1.17
+++ pkgsrc/editors/xemacs/distinfo 2012/12/24 21:08:06 1.18
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2012/04/27 13:53:46 hauke Exp $
+$NetBSD: distinfo,v 1.18 2012/12/24 21:08:06 joerg Exp $
 
 SHA1 (xemacs/xemacs-21.4.22.tar.gz) = 24ed9b13d80c53c06bba60c7bb68387f692b7373
 RMD160 (xemacs/xemacs-21.4.22.tar.gz) = f7d71d3607c3301760df8f7ae5a93d1d37df56ba
@@ -14,5 +14,6 @@
 SHA1 (patch-ai) = ea752473a56d20907201763966ecdeaaeffac84a
 SHA1 (patch-ak) = bfbd285a1cc7d4e93a2fc884e03492dec9302e55
 SHA1 (patch-al) = 247826009110453a868525e711e084b7dee49664
+SHA1 (patch-src_config.h.in) = 2fd4ca6966f0d2b56ba92fa31a99ebce31c2c2b7
 SHA1 (patch-src_glyphs-eimage.c) = f013013d467d32dfac63287dd5a565153855a751
 SHA1 (patch-src_lisp.h) = 7b4c7984cfbfe1e3a30aac2009f777b8d95c013c

File Added: pkgsrc/editors/xemacs/patches/patch-src_config.h.in
$NetBSD: patch-src_config.h.in,v 1.1 2012/12/24 21:08:06 joerg Exp $

--- src/config.h.in.orig	2005-11-28 02:10:19.000000000 +0000
+++ src/config.h.in
@@ -852,7 +852,7 @@ on various systems. */
 /* Does the keyword `inline' exist?  */
 #undef inline
 
-#if defined (__cplusplus) || ! defined (__GNUC__)
+#if 1
 # define INLINE_HEADER inline static
 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
 # define INLINE_HEADER inline