aboutsummaryrefslogtreecommitdiff
path: root/accessibility/gok
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-09-30 01:12:20 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-09-30 01:12:20 +0000
commitd37007b929890d1cb7a0ca15f8a90010bd6d0291 (patch)
tree5172f4c64ec13e0a392b5a62a9125deee5b12df1 /accessibility/gok
parent6382f7a641f35ad8b92c3af45549b560f7609a36 (diff)
downloadports-d37007b929890d1cb7a0ca15f8a90010bd6d0291.tar.gz
ports-d37007b929890d1cb7a0ca15f8a90010bd6d0291.zip
Fix build under -STABLE.
Notes
Notes: svn path=/head/; revision=89862
Diffstat (limited to 'accessibility/gok')
-rw-r--r--accessibility/gok/files/patch-gok::gok-scanner.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/accessibility/gok/files/patch-gok::gok-scanner.c b/accessibility/gok/files/patch-gok::gok-scanner.c
new file mode 100644
index 000000000000..5581380e625c
--- /dev/null
+++ b/accessibility/gok/files/patch-gok::gok-scanner.c
@@ -0,0 +1,16 @@
+--- gok/gok-scanner.c.orig Mon Sep 29 21:04:52 2003
++++ gok/gok-scanner.c Mon Sep 29 21:05:05 2003
+@@ -220,10 +220,11 @@
+ xmlNode *retval = NULL;
+ int target_lang_len = strlen ((char *)target_lang);
+ gboolean lang_is_matched = FALSE;
++ gboolean is_lang_match, is_perfect_match;
+
+ gok_log_enter();
+- gboolean is_lang_match = FALSE;
+- gboolean is_perfect_match = FALSE;
++ is_lang_match = FALSE;
++ is_perfect_match = FALSE;
+ /* loop through the document looking for the name string */
+ while (pNode != NULL)
+ {