]> git.pld-linux.org Git - packages/tesseract.git/commitdiff
- fix build
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 5 Apr 2007 16:19:07 +0000 (16:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tesseract-globals.patch -> 1.1

tesseract-globals.patch [new file with mode: 0644]

diff --git a/tesseract-globals.patch b/tesseract-globals.patch
new file mode 100644 (file)
index 0000000..fdbd140
--- /dev/null
@@ -0,0 +1,46 @@
+diff -ru tesseract-1.03~/ccutil/getopt.h tesseract-1.03/ccutil/getopt.h
+--- tesseract-1.03~/ccutil/getopt.h    2007-02-24 00:24:36.000000000 +0100
++++ tesseract-1.03/ccutil/getopt.h     2007-02-24 00:24:42.000000000 +0100
+@@ -20,9 +20,6 @@
+ #include          "host.h"
+ #include          "notdll.h"     //must be last include
+-extern int optind;
+-extern char *optarg;
+-
+ int getopt (                     //parse args
+ INT32 argc,                      //arg count
+ char *argv[],                    //args
+diff -ru tesseract-1.03~/ccmain/tfacep.h tesseract-1.03/ccmain/tfacep.h
+--- tesseract-1.03~/ccmain/tfacep.h    2006-06-17 00:17:03.000000000 +0200
++++ tesseract-1.03/ccmain/tfacep.h     2007-02-24 00:12:20.000000000 +0100
+@@ -103,7 +103,6 @@
+   //extern int                                    enable_assoc;
+   //extern int                                    chop_enable;
+   //extern int                                    permute_only_top;
+-  extern int display_ratings;
+ };
+diff -ru tesseract-1.03~/training/cnTraining.cpp tesseract-1.03/training/cnTraining.cpp
+--- tesseract-1.03~/training/cnTraining.cpp    2006-10-20 00:25:38.000000000 +0200
++++ tesseract-1.03/training/cnTraining.cpp     2007-02-24 00:17:46.000000000 +0100
+@@ -29,6 +29,7 @@
+ #include "emalloc.h"
+ #include "featdefs.h"
+ #include "getopt.h"
++#include "globals.h"
+ #include "ocrfeatures.h"
+ #include "general.h"
+ #include "clusttool.h"
+diff -ru tesseract-1.03~/training/mfTraining.cpp tesseract-1.03/training/mfTraining.cpp
+--- tesseract-1.03~/training/mfTraining.cpp    2007-02-01 04:09:21.000000000 +0100
++++ tesseract-1.03/training/mfTraining.cpp     2007-02-24 00:18:18.000000000 +0100
+@@ -31,6 +31,7 @@
+ #include "emalloc.h"
+ #include "featdefs.h"
+ #include "getopt.h"
++#include "globals.h"
+ #include "ocrfeatures.h"
+ #include "general.h"
+ #include "clusttool.h"
This page took 0.030958 seconds and 4 git commands to generate.