summaryrefslogtreecommitdiff
path: root/misc/gok/patches/patch-aa
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-11-12 22:10:16 +0000
committerkristerw <kristerw@pkgsrc.org>2004-11-12 22:10:16 +0000
commit23fda7bea9f2b21d97b91ef3ead0bd36d06c9e57 (patch)
treeede9a8101ceeef5e34b78ad77e163fbf9e0f057c /misc/gok/patches/patch-aa
parent8a7d3d2ec61f1182087f001475110daa022d715f (diff)
downloadpkgsrc-23fda7bea9f2b21d97b91ef3ead0bd36d06c9e57.tar.gz
Fix a C99-ism to make this pkg build with gcc 2.95.
Diffstat (limited to 'misc/gok/patches/patch-aa')
-rw-r--r--misc/gok/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/gok/patches/patch-aa b/misc/gok/patches/patch-aa
new file mode 100644
index 00000000000..d0876b2e8ad
--- /dev/null
+++ b/misc/gok/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.3 2004/11/12 22:10:16 kristerw Exp $
+
+--- gok/gok-keyboard.c.orig Fri Nov 12 22:40:44 2004
++++ gok/gok-keyboard.c Fri Nov 12 22:42:15 2004
+@@ -2518,9 +2518,10 @@
+ }
+ else if ((pKeyboard->search_type == GOK_SPY_SEARCH_ACTIONABLE) && !did_actionkeys)
+ {
++ AccessibleAction *action;
+ gint action_count, i;
+ did_actionkeys = TRUE;
+- AccessibleAction *action =
++ action =
+ Accessible_getAction (pNodeAccessible->paccessible);
+ if (!action)
+ break;