diff options
author | rillig <rillig@pkgsrc.org> | 2005-12-18 22:23:56 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-12-18 22:23:56 +0000 |
commit | b0604c3d759dc954cf960b692ddbce15447404a1 (patch) | |
tree | 6c554f84db6597d62a8e8e6d6448187dfdca3f52 /x11/gnopernicus/patches/patch-af | |
parent | 9dde5e89c7790a4cde36430b874b18337d81efba (diff) | |
download | pkgsrc-b0604c3d759dc954cf960b692ddbce15447404a1.tar.gz |
Added two patches for ISO C90 compatibility.
Diffstat (limited to 'x11/gnopernicus/patches/patch-af')
-rw-r--r-- | x11/gnopernicus/patches/patch-af | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/gnopernicus/patches/patch-af b/x11/gnopernicus/patches/patch-af new file mode 100644 index 00000000000..3346ae4b421 --- /dev/null +++ b/x11/gnopernicus/patches/patch-af @@ -0,0 +1,18 @@ +$NetBSD: patch-af,v 1.3 2005/12/18 22:23:56 rillig Exp $ + +Keywords: c90 + +--- srlow/libsrlow/SRLow.c.orig Mon Jul 25 16:21:54 2005 ++++ srlow/libsrlow/SRLow.c Sun Dec 18 23:00:29 2005 +@@ -666,8 +666,10 @@ srl_get_focused_cell (Accessible *acc_ta + for (i = rows; !rv && i <= rowe && count < SRL_MAX_CHILDREN_CNT; i++) + for (j = cols; !rv && j <= cole && count < SRL_MAX_CHILDREN_CNT; j++) + { ++ Accessible *cell; ++ + count++; +- Accessible *cell = AccessibleTable_getAccessibleAt (table, i, j); ++ cell = AccessibleTable_getAccessibleAt (table, i, j); + if (cell) + { + if (srl_acc_has_state (cell, SPI_STATE_FOCUSED)) |