summaryrefslogtreecommitdiff
path: root/x11/devilspie
diff options
context:
space:
mode:
authorrillig <rillig>2005-12-18 21:31:46 +0000
committerrillig <rillig>2005-12-18 21:31:46 +0000
commit90d74615b3a8cab084560d20f07d9f564e00225e (patch)
treed3d5067552edcab9dbed826cd486b67d3ded189a /x11/devilspie
parent47fc36e50f7698f2292053fabd1d2c702783230d (diff)
downloadpkgsrc-90d74615b3a8cab084560d20f07d9f564e00225e.tar.gz
Added patch-aa for ISO C90 compatibility.
Diffstat (limited to 'x11/devilspie')
-rw-r--r--x11/devilspie/distinfo3
-rw-r--r--x11/devilspie/patches/patch-aa23
2 files changed, 25 insertions, 1 deletions
diff --git a/x11/devilspie/distinfo b/x11/devilspie/distinfo
index 58a2dcc2c24..5ce466a8f3b 100644
--- a/x11/devilspie/distinfo
+++ b/x11/devilspie/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2005/11/14 18:10:16 wiz Exp $
+$NetBSD: distinfo,v 1.14 2005/12/18 21:31:46 rillig Exp $
SHA1 (devilspie-0.16.tar.gz) = 2d337968a410aff881e7c14fb1d1f91c2fe44aca
RMD160 (devilspie-0.16.tar.gz) = ed061d7ced7f9fa9f0c547f5bfbbea10041c6d23
Size (devilspie-0.16.tar.gz) = 146898 bytes
+SHA1 (patch-aa) = feeaf45cf2b8512e665dd772c41a4f870e00be12
diff --git a/x11/devilspie/patches/patch-aa b/x11/devilspie/patches/patch-aa
new file mode 100644
index 00000000000..6e1f5d574fb
--- /dev/null
+++ b/x11/devilspie/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.3 2005/12/18 21:31:46 rillig Exp $
+
+Keywords: c90
+
+--- src/actions.c.orig Fri Oct 21 11:58:14 2005
++++ src/actions.c Sun Dec 18 22:18:21 2005
+@@ -138,14 +138,14 @@ ESExpResult *func_center(ESExp *f, int a
+ gint xoffset, yoffset, window_width, window_height,
+ workspace_width, workspace_height;
+ int new_xoffset, new_yoffset;
++ WnckScreen *screen;
++ WnckWorkspace *workspace;
+
+ /* read in window geometry */
+ wnck_window_get_geometry (c->window,
+ &xoffset, &yoffset, &window_width, &window_height);
+
+ /* read in workspace geometry */
+- WnckScreen *screen;
+- WnckWorkspace *workspace;
+ screen = wnck_window_get_screen (c->window);
+ workspace = wnck_screen_get_active_workspace (screen);
+ workspace_width = wnck_workspace_get_width (workspace);