tesseract: fix build on x86_64.

* also declares compat on provides.
This commit is contained in:
Jerome Duval
2017-01-21 14:21:12 +01:00
parent 2f0696de2c
commit acd57fe5b8
2 changed files with 28 additions and 9 deletions

View File

@@ -3,9 +3,6 @@ From: Sergei Reznikov <diver@gelios.net>
Date: Tue, 31 Mar 2015 14:43:55 +0300
Subject: [PATCH] Backport 16aa99315a3d - make ocrclass.h public header
---
ccutil/Makefile.am | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ccutil/Makefile.am b/ccutil/Makefile.am
index 5c08f6b..8737dda 100644
@@ -36,5 +33,27 @@ index 5c08f6b..8737dda 100644
\ No newline at end of file
+endif
--
2.2.2
2.10.2
From b71ceaebdb44e530bce9c3400ab3d08c51202399 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Sat, 21 Jan 2017 14:05:21 +0100
Subject: fix missing declaration for fd_set,FD_SET,FD_ZERO,select.
diff --git a/viewer/svutil.cpp b/viewer/svutil.cpp
index bef51b1..20b1d6b 100644
--- a/viewer/svutil.cpp
+++ b/viewer/svutil.cpp
@@ -38,6 +38,7 @@ struct addrinfo {
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
+#include <sys/select.h>
#include <sys/socket.h>
#ifdef __linux__
#include <sys/prctl.h>
--
2.10.2