Dash:
[t2-trunk.git] / package / graphic / tesseract / hotfix-gcc44.patch
blob7c1efa4d6c918438f8af01a61d1b96d9e04eaf89
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../tesseract/gcc44.patch
5 # Copyright (C) 2010 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- tesseract-2.04.original/viewer/svutil.cpp 2009-07-25 21:03:18.000000000 +0000
18 +++ tesseract-2.04/viewer/svutil.cpp 2009-07-25 21:05:54.000000000 +0000
19 @@ -41,10 +41,11 @@
20 #include <sys/prctl.h>
21 #endif
22 #endif
24 #include <iostream>
25 +#include <cstdio>
27 const int kBufferSize = 65536;
28 const int kMaxMsgSize = 4096;
30 // Signals a thread to exit.