diff options
author | 2009-05-11 17:00:00 +0000 | |
---|---|---|
committer | 2009-05-11 17:00:00 +0000 | |
commit | 21303749056ac1db222cf2c33df2cc261a8953d3 (patch) | |
tree | b08c43eb7d4ddd3b9938e5190c01ac3a38d078cb /app-text/tesseract/files/tesseract-2.03-gcc44.patch | |
parent | old (diff) | |
download | historical-21303749056ac1db222cf2c33df2cc261a8953d3.tar.gz historical-21303749056ac1db222cf2c33df2cc261a8953d3.tar.bz2 historical-21303749056ac1db222cf2c33df2cc261a8953d3.zip |
Fix compile with GCC 4.4 wrt #269320, thanks to Jose daLuz and Victor Ostorga.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'app-text/tesseract/files/tesseract-2.03-gcc44.patch')
-rw-r--r-- | app-text/tesseract/files/tesseract-2.03-gcc44.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/tesseract/files/tesseract-2.03-gcc44.patch b/app-text/tesseract/files/tesseract-2.03-gcc44.patch new file mode 100644 index 000000000000..e1524d987e6b --- /dev/null +++ b/app-text/tesseract/files/tesseract-2.03-gcc44.patch @@ -0,0 +1,15 @@ +diff -NrU5 tesseract-2.03.orig/viewer/svutil.cpp tesseract-2.03/viewer/svutil.cpp +--- tesseract-2.03.orig/viewer/svutil.cpp 2009-05-11 16:27:37.000000000 -0600 ++++ tesseract-2.03/viewer/svutil.cpp 2009-05-11 16:33:40.000000000 -0600 +@@ -36,10 +36,11 @@ + #endif + #endif + + #include <iostream> + #include <string.h> ++#include <cstdio> + #include <stdlib.h> + + const int kBufferSize = 65536; + const int kMaxMsgSize = 4096; + |