From ee107aeb8b8d20a4ef8aed8fd3717e706ad560f5 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 16 Mar 2005 12:37:26 +0000 Subject: Added a patch for gcc-2.95.3. Approved by wiz. --- wm/matchbox/distinfo | 3 ++- wm/matchbox/patches/patch-aa | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 wm/matchbox/patches/patch-aa (limited to 'wm/matchbox') diff --git a/wm/matchbox/distinfo b/wm/matchbox/distinfo index 1bdcdc1eb9f..2968522a929 100644 --- a/wm/matchbox/distinfo +++ b/wm/matchbox/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2005/02/23 18:43:54 wiz Exp $ +$NetBSD: distinfo,v 1.8 2005/03/16 12:37:26 rillig Exp $ SHA1 (matchbox-window-manager-0.8.4.tar.gz) = c9fd75cd01bd9800fcd1c962fa0294e5b4482a2f RMD160 (matchbox-window-manager-0.8.4.tar.gz) = 855938b4bfe4f7c3e808ffb25acf27b14e282ab0 Size (matchbox-window-manager-0.8.4.tar.gz) = 217677 bytes +SHA1 (patch-aa) = 41299f1704521b2dc205c3bd82912949570c5649 diff --git a/wm/matchbox/patches/patch-aa b/wm/matchbox/patches/patch-aa new file mode 100644 index 00000000000..746bc0f1980 --- /dev/null +++ b/wm/matchbox/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.5 2005/03/16 12:37:26 rillig Exp $ + +The second semicolon belongs to an in C, and so there are +declarations and statements intermixed. gcc-2.95.3 cannot handle this. + +--- src/wm.c.orig Thu Sep 23 19:06:18 2004 ++++ src/wm.c Wed Mar 16 02:24:36 2005 +@@ -1541,7 +1541,7 @@ Client* + wm_make_new_client(Wm *w, Window win) + { + Window trans_win; +- Atom realType, *value = NULL;; ++ Atom realType, *value = NULL; + unsigned long n, extra, val[1]; + int format, status; + Client *c = NULL, *t = NULL, *old_main_client = NULL; -- cgit v1.2.3