Dash:
[t2.git] / package / graphic / tesseract / hotfix-gcc41.patch
blob01419275e12131495f13a98492bc9d7546c7e5c6
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../tesseract/gcc41.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- tesseract-ocr/cutil/tordvars.h.vanilla 2007-07-02 11:15:41.000000000 +0000
18 +++ tesseract-ocr/cutil/tordvars.h 2007-07-02 11:16:13.000000000 +0000
19 @@ -39,6 +39,9 @@
20 extern FILE *correct_fp; //correct text
21 extern FILE *matcher_fp;
23 +extern "C"
26 extern int blob_skip; /* Skip to next selection */
27 extern int num_word_choices; /* How many words to keep */
28 extern int similarity_enable; /* Switch for Similarity */
29 @@ -51,6 +54,8 @@
30 extern int display_text; /* Show word text */
31 extern int display_blocks; /* Show word as boxes */
33 +}
35 extern float overlap_threshold; /* Overlap Threshold */
36 extern float certainty_threshold; /* When to quit looking */