pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/matchbox Added a patch for gcc-2.95.3. Approved by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5363f4cdcf67
branches:  trunk
changeset: 490608:5363f4cdcf67
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Mar 16 12:37:26 2005 +0000

description:
Added a patch for gcc-2.95.3. Approved by wiz.

diffstat:

 wm/matchbox/distinfo         |   3 ++-
 wm/matchbox/patches/patch-aa |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r cca85464cbd6 -r 5363f4cdcf67 wm/matchbox/distinfo
--- a/wm/matchbox/distinfo      Wed Mar 16 12:36:20 2005 +0000
+++ b/wm/matchbox/distinfo      Wed Mar 16 12:37:26 2005 +0000
@@ -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 -r cca85464cbd6 -r 5363f4cdcf67 wm/matchbox/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/matchbox/patches/patch-aa      Wed Mar 16 12:37:26 2005 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index