diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-07-25 21:12:14 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-07-25 21:12:14 +0000 |
commit | 5b71efc92088d58eb8604dec63724eeceec36b3d (patch) | |
tree | 74d0471b1ffabd70ea66e15a1e0b30fb3b514fef /app-text/tesseract/files | |
parent | Fix building with GCC 4.4 wrt #277797. (diff) | |
download | gentoo-2-5b71efc92088d58eb8604dec63724eeceec36b3d.tar.gz gentoo-2-5b71efc92088d58eb8604dec63724eeceec36b3d.tar.bz2 gentoo-2-5b71efc92088d58eb8604dec63724eeceec36b3d.zip |
Fix compilation with gcc-4.4 , closes bug 269320
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-text/tesseract/files')
-rw-r--r-- | app-text/tesseract/files/tesseract-2.04-gcc44.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/tesseract/files/tesseract-2.04-gcc44.patch b/app-text/tesseract/files/tesseract-2.04-gcc44.patch new file mode 100644 index 000000000000..7d1f61c19acd --- /dev/null +++ b/app-text/tesseract/files/tesseract-2.04-gcc44.patch @@ -0,0 +1,15 @@ +diff -NrU5 tesseract-2.04.original/viewer/svutil.cpp tesseract-2.04/viewer/svutil.cpp +--- tesseract-2.04.original/viewer/svutil.cpp 2009-07-25 21:03:18.000000000 +0000 ++++ tesseract-2.04/viewer/svutil.cpp 2009-07-25 21:05:54.000000000 +0000 +@@ -41,10 +41,11 @@ + #include <sys/prctl.h> + #endif + #endif + + #include <iostream> ++#include <cstdio> + + const int kBufferSize = 65536; + const int kMaxMsgSize = 4096; + + // Signals a thread to exit. |