summaryrefslogtreecommitdiff
path: root/graphics/ocrad/files/patch-character.h
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-11-20 21:30:40 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-11-20 21:30:40 +0000
commitacc9ba9bb2d27546775b7e3f2322cb6b7d008314 (patch)
tree013c02e02b7924ac4f07966dca68e917b86ccee7 /graphics/ocrad/files/patch-character.h
parentUpdate net/dhcpdump to version 1.6: (diff)
Add ocrad 0.5, OCR program implemented as filter.
GNU Ocrad is an OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method. It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. Also includes a layout analyser able to separate the columns or blocks of text normally found on printed pages. It can be used as a stand-alone console application, or as a backend to other programs. PR: 59232 Submitted by: Ulrich Spoerlein <q@uni.de>
Notes
Notes: svn path=/head/; revision=94543
Diffstat (limited to 'graphics/ocrad/files/patch-character.h')
-rw-r--r--graphics/ocrad/files/patch-character.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/ocrad/files/patch-character.h b/graphics/ocrad/files/patch-character.h
new file mode 100644
index 000000000000..5dacbaf8555a
--- /dev/null
+++ b/graphics/ocrad/files/patch-character.h
@@ -0,0 +1,10 @@
+--- character.h.orig Sun Nov 16 17:40:28 2003
++++ character.h Sun Nov 16 17:40:44 2003
+@@ -64,6 +64,7 @@
+ void swap_guesses( int i, int j ) throw();
+ const Guess & guess( int i ) const throw();
+ int guesses() const throw() { return _guess.size(); }
++#undef isalnum
+ bool isalnum() const throw();
+
+ void join( Character & c ) throw();