--- /dev/null
+--- tesseract-1.04/cutil/globals.h.orig 2007-05-16 03:13:26.000000000 +0200
++++ tesseract-1.04/cutil/globals.h 2007-07-17 18:04:41.992990140 +0200
+@@ -45,8 +45,6 @@ extern int acts[MAXPROC]; /*actio
+ extern int debugs[MAXPROC]; /*debug flags */
+ extern int plots[MAXPROC]; /*plot flags */
+ extern int corners[4]; /*corners of scan window */
+-extern int optind; /*option index */
+-extern char *optarg; /*option argument */
+ /*image file name */
+ extern char imagefile[FILENAMESIZE];
+ /* main directory */
+--- tesseract-1.04/cutil/tordvars.h.orig 2007-05-16 23:33:53.000000000 +0200
++++ tesseract-1.04/cutil/tordvars.h 2007-07-17 18:07:44.663399933 +0200
+@@ -45,8 +45,7 @@ extern int similarity_enable;
+ extern int similarity_debug; /* Level of debug output */
+ extern int write_raw_output; /* Text before context */
+ extern int write_output; /* Text file output */
+-//extern "C" { extern int display_ratings; } /* Show the ratings */
+-extern int display_ratings; /* Show the ratings */
++extern "C" { extern int display_ratings; } /* Show the ratings */
+ extern int show_bold; /* Use bold text */
+ extern int display_text; /* Show word text */
+ extern int display_blocks; /* Show word as boxes */