freebsd-ports/graphics/tesseract/files/patch-cutil__tordvars.h
Andrew Pantyukhin a7306a6e43 Add port graphics/tesseract:
The Tesseract OCR engine was one of the top 3 engines in the 1995 UNLV
Accuracy test. Between 1995 and 2006 it had little work done on it, but
it is probably one of the most accurate open source OCR engines
available. The source code will read a binary, grey or color image and
output text.

WWW: http://code.google.com/p/tesseract-ocr/

Based on:	pkgsrc package
2007-07-18 12:59:54 +00:00

13 lines
830 B
C

--- ./cutil/tordvars.h.orig 2007-05-17 01:33:53.000000000 +0400
+++ ./cutil/tordvars.h 2007-07-18 15:54:41.000000000 +0400
@@ -45,8 +45,8 @@
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 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 */