summaryrefslogtreecommitdiffstats
path: root/accessibility/gok
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-09-30 01:12:20 +0000
committeradamw <adamw@FreeBSD.org>2003-09-30 01:12:20 +0000
commit94ffb22f520f8b74f6d871228c5226c07dd9479b (patch)
treee727ebdfbd479ccc96ba3d395043290f3d3dbe04 /accessibility/gok
parent5b9615a6797cbb4607c6a8ffbd4ba92fcc2e6521 (diff)
downloadFreeBSD-ports-94ffb22f520f8b74f6d871228c5226c07dd9479b.zip
FreeBSD-ports-94ffb22f520f8b74f6d871228c5226c07dd9479b.tar.gz
Fix build under -STABLE.
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 0000000..5581380
--- /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)
+ {
OpenPOWER on IntegriCloud