summaryrefslogtreecommitdiff
path: root/graphics/tesseract/patches
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tesseract/patches')
-rw-r--r--graphics/tesseract/patches/tesseract-2.03-java.patch17
-rw-r--r--graphics/tesseract/patches/tesseract-2.03-missing_includes.patch37
-rw-r--r--graphics/tesseract/patches/tesseract-2.03-patch.patch53
3 files changed, 0 insertions, 107 deletions
diff --git a/graphics/tesseract/patches/tesseract-2.03-java.patch b/graphics/tesseract/patches/tesseract-2.03-java.patch
deleted file mode 100644
index f384dbdfc1..0000000000
--- a/graphics/tesseract/patches/tesseract-2.03-java.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: tesseract-2.03/java/makefile
-===================================================================
---- tesseract-2.03.orig/java/makefile 2008-04-24 21:52:12.000000000 +0200
-+++ tesseract-2.03/java/makefile 2008-04-24 21:53:03.000000000 +0200
-@@ -39,8 +39,11 @@
- clean :
- rm -f ScrollView.jar *.class
-
-+distclean : clean
-+ rm -f Makefile
-+
- # all-am does nothing, to make the java part optional.
--all all-am :
-+all all-am install :
-
- # dist runs the autoconf makefile to archive the files correctly.
- dist distdir :
diff --git a/graphics/tesseract/patches/tesseract-2.03-missing_includes.patch b/graphics/tesseract/patches/tesseract-2.03-missing_includes.patch
deleted file mode 100644
index 24931c08a6..0000000000
--- a/graphics/tesseract/patches/tesseract-2.03-missing_includes.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-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;
diff --git a/graphics/tesseract/patches/tesseract-2.03-patch.patch b/graphics/tesseract/patches/tesseract-2.03-patch.patch
deleted file mode 100644
index f2868dfa5c..0000000000
--- a/graphics/tesseract/patches/tesseract-2.03-patch.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-*** a/ccmain/baseapi.cpp
---- b/ccmain/baseapi.cpp
-***************
-*** 954,960 ****
- for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
- OUTLINE *outline = it.data();
- outline->compute_bb();
-! result.bounding_union(outline->bounding_box());
- }
- return result;
- }
---- 954,960 ----
- for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
- OUTLINE *outline = it.data();
- outline->compute_bb();
-! result = result.bounding_union(outline->bounding_box());
- }
- return result;
- }
-***************
-*** 966,972 ****
- for (c_it.mark_cycle_pt(); !c_it.cycled_list(); c_it.forward()) {
- C_BLOB *blob = c_it.data();
- //bboxes.push(tessy_rectangle(blob->bounding_box()));
-! result.bounding_union(blob->bounding_box());
- }
- return result;
- }
---- 966,972 ----
- for (c_it.mark_cycle_pt(); !c_it.cycled_list(); c_it.forward()) {
- C_BLOB *blob = c_it.data();
- //bboxes.push(tessy_rectangle(blob->bounding_box()));
-! result = result.bounding_union(blob->bounding_box());
- }
- return result;
- }
-***************
-*** 1026,1032 ****
- for (int i = 0; i < n; i++) {
- PBLOB *blob = it.data();
- TBOX current = pblob_get_bbox(blob);
-! bln_rect.bounding_union(current);
-
- TESS_CHAR *tc = new TESS_CHAR(rating_to_cost(word->best_choice->rating()),
- str, *len);
---- 1026,1032 ----
- for (int i = 0; i < n; i++) {
- PBLOB *blob = it.data();
- TBOX current = pblob_get_bbox(blob);
-! bln_rect = bln_rect.bounding_union(current);
-
- TESS_CHAR *tc = new TESS_CHAR(rating_to_cost(word->best_choice->rating()),
- str, *len);