summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/tesseract/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/tesseract/files')
-rw-r--r--app-text/tesseract/files/tesseract-2.04-gcc44.patch15
-rw-r--r--app-text/tesseract/files/tesseract-2.04-gcc47.patch10
-rw-r--r--app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch41
3 files changed, 66 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.
diff --git a/app-text/tesseract/files/tesseract-2.04-gcc47.patch b/app-text/tesseract/files/tesseract-2.04-gcc47.patch
new file mode 100644
index 000000000000..afc560a8dc4a
--- /dev/null
+++ b/app-text/tesseract/files/tesseract-2.04-gcc47.patch
@@ -0,0 +1,10 @@
+--- ./viewer/svutil.cpp.ori 2012-04-28 01:59:58.441072997 +0200
++++ ./viewer/svutil.cpp 2012-04-28 02:00:35.085467955 +0200
+@@ -37,6 +37,7 @@
+ #include <signal.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <netdb.h>
+ #include <sys/socket.h>
+ #ifdef __linux__
diff --git a/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch b/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch
new file mode 100644
index 000000000000..7523e3b44960
--- /dev/null
+++ b/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch
@@ -0,0 +1,41 @@
+From 27b8a5cc89898c3f12dae57a58b15efddee9fe18 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= <zdenop@gmail.com>
+Date: Thu, 23 Jul 2015 23:14:53 +0200
+Subject: [PATCH] fix GRAPHICS_DISABLED build
+
+---
+ ccstruct/imagedata.cpp | 4 ++++
+ ccstruct/split.cpp | 5 +++++
+ 2 files changed, 9 insertions(+)
+
+diff --git a/ccstruct/imagedata.cpp b/ccstruct/imagedata.cpp
+index 4016a92..3c244c7 100644
+--- a/ccstruct/imagedata.cpp
++++ b/ccstruct/imagedata.cpp
+@@ -17,6 +17,10 @@
+ // limitations under the License.
+ ///////////////////////////////////////////////////////////////////////
+
++// Include automatically generated configuration file if running autoconf.
++#ifdef HAVE_CONFIG_H
++#include "config_auto.h"
++#endif
+
+ #include "imagedata.h"
+
+diff --git a/ccstruct/split.cpp b/ccstruct/split.cpp
+index 24650d4..6e6ea44 100644
+--- a/ccstruct/split.cpp
++++ b/ccstruct/split.cpp
+@@ -25,6 +25,11 @@
+ /*----------------------------------------------------------------------
+ I n c l u d e s
+ ----------------------------------------------------------------------*/
++// Include automatically generated configuration file if running autoconf.
++#ifdef HAVE_CONFIG_H
++#include "config_auto.h"
++#endif
++
+ #include "split.h"
+ #include "coutln.h"
+ #include "tprintf.h"