diff options
author | rillig <rillig> | 2005-12-18 21:31:46 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-12-18 21:31:46 +0000 |
commit | 3c1b733ee7b5a6a6fad095835710a28b2d3f2231 (patch) | |
tree | d3d5067552edcab9dbed826cd486b67d3ded189a | |
parent | 9d4bf3e9d488050f5850b64ee35b56fe6a3298f5 (diff) | |
download | pkgsrc-3c1b733ee7b5a6a6fad095835710a28b2d3f2231.tar.gz |
Added patch-aa for ISO C90 compatibility.
-rw-r--r-- | x11/devilspie/distinfo | 3 | ||||
-rw-r--r-- | x11/devilspie/patches/patch-aa | 23 |
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); |