pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/tile Added a compatibility patch for ISO C90 compi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18ff1c1d7a2f
branches:  trunk
changeset: 501447:18ff1c1d7a2f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 13:32:39 2005 +0000

description:
Added a compatibility patch for ISO C90 compilers.

diffstat:

 x11/tile/distinfo         |   3 ++-
 x11/tile/patches/patch-ab |  28 ++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 3f36aa0cd301 -r 18ff1c1d7a2f x11/tile/distinfo
--- a/x11/tile/distinfo Sun Oct 23 11:33:53 2005 +0000
+++ b/x11/tile/distinfo Sun Oct 23 13:32:39 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/15 13:40:49 minskim Exp $
+$NetBSD: distinfo,v 1.2 2005/10/23 13:32:39 rillig Exp $
 
 SHA1 (tile_0.7.3.tar.gz) = 4f1d0e9eacca9c0fca98b36e45fbb925ddd0c4ff
 RMD160 (tile_0.7.3.tar.gz) = 414931082aa29621afd80abd39d17310eae27538
 Size (tile_0.7.3.tar.gz) = 111272 bytes
 SHA1 (patch-aa) = 48396c9610770a205b94bdb1975f459cb001495c
+SHA1 (patch-ab) = 5de44faad3125de2cbbe90bd11412674a28e75db
diff -r 3f36aa0cd301 -r 18ff1c1d7a2f x11/tile/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/tile/patches/patch-ab Sun Oct 23 13:32:39 2005 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1 2005/10/23 13:32:39 rillig Exp $
+
+ISO C90 fixes.
+
+--- x11.c.orig Sat Sep 24 10:09:27 2005
++++ x11.c      Sun Oct 23 15:29:16 2005
+@@ -106,9 +106,9 @@ void recurseWindow(Display * dsp, Window
+     for (i = 0; i < num_child_windows; i++) {
+         recurseWindow(dsp, child_windows[i], tileconf, tilestate);
+         if (isNotIconified(dsp, child_windows[i])) {
++            XTextProperty tpr;
+             if (tileconf->verbose >= GT_DEBUG)
+                 printf("recurseWindow Visible: %ld\n", child_windows[i]);
+-            XTextProperty tpr;
+             if (0 != XGetWMName(dsp, child_windows[i], &tpr)) {
+                 if (!shouldWeAvoid
+                     (dsp, child_windows[i], (char *) tpr.value, tileconf,
+@@ -175,9 +175,9 @@ void moveResizeWindow(Display * dsp, Win
+                 if (!shouldWeAvoid
+                     (dsp, child_windows[i], (char *) tpr.value, tileconf,
+                      tilestate, "moveResizeWindow")) {
++                    int x, y, width, height;
+                     if (tileconf->verbose >= GT_ACTION)
+                         printf("moveResizeWindow: %s\n", tpr.value);
+-                    int x, y, width, height;
+                     switch (tileconf->orientation) {
+                     case HORIZONTAL:
+                         width =



Home | Main Index | Thread Index | Old Index