From b0604c3d759dc954cf960b692ddbce15447404a1 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 18 Dec 2005 22:23:56 +0000 Subject: Added two patches for ISO C90 compatibility. --- x11/gnopernicus/patches/patch-af | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 x11/gnopernicus/patches/patch-af (limited to 'x11/gnopernicus/patches/patch-af') 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)) -- cgit v1.2.3