summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-03-16 12:37:26 +0000
committerrillig <rillig@pkgsrc.org>2005-03-16 12:37:26 +0000
commit75a8b5fffb9ffc58574978777f4d2323b21cd12e (patch)
tree1792e4b906d04efff98ac9cbe1491ea9953336fb
parent32c7806fe076e2147eea3becfa21115edd7f8bff (diff)
downloadpkgsrc-75a8b5fffb9ffc58574978777f4d2323b21cd12e.tar.gz
Added a patch for gcc-2.95.3. Approved by wiz.
-rw-r--r--wm/matchbox/distinfo3
-rw-r--r--wm/matchbox/patches/patch-aa16
2 files changed, 18 insertions, 1 deletions
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 <expr> 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;