]> git.pld-linux.org Git - packages/tesseract.git/blob - tesseract-globals.patch
- added globals patch
[packages/tesseract.git] / tesseract-globals.patch
1 diff -ru tesseract-1.03~/ccutil/getopt.h tesseract-1.03/ccutil/getopt.h
2 --- tesseract-1.03~/ccutil/getopt.h     2007-02-24 00:24:36.000000000 +0100
3 +++ tesseract-1.03/ccutil/getopt.h      2007-02-24 00:24:42.000000000 +0100
4 @@ -20,9 +20,6 @@
5  #include          "host.h"
6  #include          "notdll.h"     //must be last include
7  
8 -extern int optind;
9 -extern char *optarg;
10 -
11  int getopt (                     //parse args
12  INT32 argc,                      //arg count
13  char *argv[],                    //args
14 diff -ru tesseract-1.03~/ccmain/tfacep.h tesseract-1.03/ccmain/tfacep.h
15 --- tesseract-1.03~/ccmain/tfacep.h     2006-06-17 00:17:03.000000000 +0200
16 +++ tesseract-1.03/ccmain/tfacep.h      2007-02-24 00:12:20.000000000 +0100
17 @@ -103,7 +103,6 @@
18    //extern int                                    enable_assoc;
19    //extern int                                    chop_enable;
20    //extern int                                    permute_only_top;
21 -  extern int display_ratings;
22  
23  };
24  
25 diff -ru tesseract-1.03~/training/cnTraining.cpp tesseract-1.03/training/cnTraining.cpp
26 --- tesseract-1.03~/training/cnTraining.cpp     2006-10-20 00:25:38.000000000 +0200
27 +++ tesseract-1.03/training/cnTraining.cpp      2007-02-24 00:17:46.000000000 +0100
28 @@ -29,6 +29,7 @@
29  #include "emalloc.h"
30  #include "featdefs.h"
31  #include "getopt.h"
32 +#include "globals.h"
33  #include "ocrfeatures.h"
34  #include "general.h"
35  #include "clusttool.h"
36 diff -ru tesseract-1.03~/training/mfTraining.cpp tesseract-1.03/training/mfTraining.cpp
37 --- tesseract-1.03~/training/mfTraining.cpp     2007-02-01 04:09:21.000000000 +0100
38 +++ tesseract-1.03/training/mfTraining.cpp      2007-02-24 00:18:18.000000000 +0100
39 @@ -31,6 +31,7 @@
40  #include "emalloc.h"
41  #include "featdefs.h"
42  #include "getopt.h"
43 +#include "globals.h"
44  #include "ocrfeatures.h"
45  #include "general.h"
46  #include "clusttool.h"
This page took 0.027296 seconds and 3 git commands to generate.