tomka 15/08/05 07:14:51 Added: tesseract-3.04.00-fix-scrollview-disabled.patch Log: Fix building with -scrollview (bug 556448) (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 565C32BC)
Revision Changes Path 1.1 app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch?rev=1.1&content-type=text/plain Index: tesseract-3.04.00-fix-scrollview-disabled.patch =================================================================== >From 27b8a5cc89898c3f12dae57a58b15efddee9fe18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= <zde...@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"