diff options
author | Pierre Cazenave <pwcazenave at gmail {dot} com> | 2010-05-12 17:40:07 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:40:07 +0200 |
commit | 6976a4aabfa3b66b7866c7904cf62ea07b8f18ea (patch) | |
tree | 3552da35ecd15b83323915eee5e1e4694c29ddb3 /graphics/tesseract/patches/tesseract-2.03-missing_includes.patch | |
parent | a6b2dba25f76cd5be09fd5f1d74dba0915074601 (diff) | |
download | slackbuilds-6976a4aabfa3b66b7866c7904cf62ea07b8f18ea.tar.gz |
graphics/tesseract: Updated for version 2.03
Diffstat (limited to 'graphics/tesseract/patches/tesseract-2.03-missing_includes.patch')
-rw-r--r-- | graphics/tesseract/patches/tesseract-2.03-missing_includes.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/graphics/tesseract/patches/tesseract-2.03-missing_includes.patch b/graphics/tesseract/patches/tesseract-2.03-missing_includes.patch new file mode 100644 index 0000000000..24931c08a6 --- /dev/null +++ b/graphics/tesseract/patches/tesseract-2.03-missing_includes.patch @@ -0,0 +1,37 @@ +diff -Nur a/viewer/scrollview.cpp b/viewer/scrollview.cpp +--- a/viewer/scrollview.cpp 2008-04-21 19:06:24.000000000 -0500 ++++ b/viewer/scrollview.cpp 2009-06-22 21:33:53.747817922 -0500 +@@ -36,6 +36,9 @@ + #include <vector> + #include <string> + ++#include <string.h> ++#include <limits.h> ++ + #include "svutil.h" + + #ifdef HAVE_LIBLEPT +diff -Nur a/viewer/svmnode.cpp b/viewer/svmnode.cpp +--- a/viewer/svmnode.cpp 2008-04-18 23:44:06.000000000 -0500 ++++ b/viewer/svmnode.cpp 2009-06-22 21:34:12.375586651 -0500 +@@ -28,6 +28,8 @@ + + #include <iostream> + ++#include <string.h> ++ + #include "scrollview.h" + + // Create the empty root menu node. with just a caption. All other nodes should +diff -Nur a/viewer/svutil.cpp b/viewer/svutil.cpp +--- a/viewer/svutil.cpp 2008-04-21 19:07:25.000000000 -0500 ++++ b/viewer/svutil.cpp 2009-06-22 21:34:31.419367272 -0500 +@@ -38,6 +38,8 @@ + + #include <iostream> + #include <string> ++#include <string.h> ++#include <stdlib.h> + + const int kBufferSize = 65536; + const int kMaxMsgSize = 4096; |