Author: megabajt Date: Thu Apr 5 16:19:12 2007 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix build
---- Files affected: SOURCES: tesseract-globals.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/tesseract-globals.patch diff -u /dev/null SOURCES/tesseract-globals.patch:1.1 --- /dev/null Thu Apr 5 18:19:12 2007 +++ SOURCES/tesseract-globals.patch Thu Apr 5 18:19:07 2007 @@ -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" ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
