diff options
author | rillig <rillig> | 2005-10-23 13:32:39 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-10-23 13:32:39 +0000 |
commit | 3cd6ee18d7bb5e1f13fb89943334d7615ad5881c (patch) | |
tree | 280cb1ec693a455827f715b274490a43da999998 | |
parent | 8305f626faa29b30dd481a777c58695c00660a32 (diff) | |
download | pkgsrc-3cd6ee18d7bb5e1f13fb89943334d7615ad5881c.tar.gz |
Added a compatibility patch for ISO C90 compilers.
-rw-r--r-- | x11/tile/distinfo | 3 | ||||
-rw-r--r-- | x11/tile/patches/patch-ab | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/x11/tile/distinfo b/x11/tile/distinfo index 05130bab68c..b5f6ca7671a 100644 --- a/x11/tile/distinfo +++ b/x11/tile/distinfo @@ -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 --git a/x11/tile/patches/patch-ab b/x11/tile/patches/patch-ab new file mode 100644 index 00000000000..c47c25d26f8 --- /dev/null +++ b/x11/tile/patches/patch-ab @@ -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 = |