From c8ef6ab6939660f37c28d3daa045b6dfee7f0cc5 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 1 Nov 2012 19:26:50 +0000 Subject: Fix C99 inline usage. --- x11/wmfstatus/distinfo | 3 ++- x11/wmfstatus/patches/patch-.._wmgeneral_list.h | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 x11/wmfstatus/patches/patch-.._wmgeneral_list.h diff --git a/x11/wmfstatus/distinfo b/x11/wmfstatus/distinfo index 292aa46da42..43cdc895d31 100644 --- a/x11/wmfstatus/distinfo +++ b/x11/wmfstatus/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 17:36:21 wiz Exp $ +$NetBSD: distinfo,v 1.5 2012/11/01 19:26:50 joerg Exp $ SHA1 (wmfstatus-0.4.tar.gz) = c6f7bfa9fe51ac4e85912921d04a4ba7f7906b1f RMD160 (wmfstatus-0.4.tar.gz) = 4aa61a96fab92c31881dd4bf1d8210b13b2f48f0 Size (wmfstatus-0.4.tar.gz) = 20004 bytes +SHA1 (patch-.._wmgeneral_list.h) = 6331edca5e59fc395f37a3f501e564ad3932abdf SHA1 (patch-aa) = 2c4c1fc06509de2a816f83685b9ab64c7ed13622 diff --git a/x11/wmfstatus/patches/patch-.._wmgeneral_list.h b/x11/wmfstatus/patches/patch-.._wmgeneral_list.h new file mode 100644 index 00000000000..eb5e455500a --- /dev/null +++ b/x11/wmfstatus/patches/patch-.._wmgeneral_list.h @@ -0,0 +1,17 @@ +$NetBSD: patch-.._wmgeneral_list.h,v 1.1 2012/11/01 19:26:50 joerg Exp $ + +--- ../wmgeneral/list.h.orig 2012-10-30 21:21:20.000000000 +0000 ++++ ../wmgeneral/list.h +@@ -29,11 +29,7 @@ Boston, MA 02111-1307, USA. */ + #ifndef __LIST_H_ + #define __LIST_H_ + +-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +-# define INLINE inline +-#else +-# define INLINE +-#endif ++#define INLINE + + typedef struct LinkedList { + void *head; -- cgit v1.2.3