Skip to content

Commit

Permalink
Added patch-aa for ISO C90 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed Dec 18, 2005
1 parent 9d4bf3e commit 3c1b733
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x11/devilspie/distinfo
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions x11/devilspie/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 3c1b733

Please sign in to comment.