mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
tesseract: upgrade 4.1.3 -> 5.2.0
0001-include-sys-time.h.patch removed since it's not available in new version. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,34 +0,0 @@
|
|||||||
From b47fa9532a7090d76521603dbc818bdec100085f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Tue, 15 Sep 2020 17:04:27 -0700
|
|
||||||
Subject: [PATCH] include sys/time.h
|
|
||||||
|
|
||||||
This provides missing definitions of timeval stuct
|
|
||||||
|
|
||||||
Fixes
|
|
||||||
| ../../../git/src/ccutil/ocrclass.h:154:7: error: member access into
|
|
||||||
incomplete type 'struct timeval'
|
|
||||||
| tv->tv_usec = (millisecs.count() % 1000) * 1000;
|
|
||||||
|
|
||||||
Upstream-Status: Pending
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
src/ccutil/ocrclass.h | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/ccutil/ocrclass.h b/src/ccutil/ocrclass.h
|
|
||||||
index d39a6dd6..96395c9b 100644
|
|
||||||
--- a/src/ccutil/ocrclass.h
|
|
||||||
+++ b/src/ccutil/ocrclass.h
|
|
||||||
@@ -28,6 +28,8 @@
|
|
||||||
|
|
||||||
#include <chrono>
|
|
||||||
#include <ctime>
|
|
||||||
+#include <sys/time.h>
|
|
||||||
+
|
|
||||||
#ifdef _WIN32
|
|
||||||
#include <winsock2.h> // for timeval
|
|
||||||
#endif
|
|
||||||
--
|
|
||||||
2.28.0
|
|
||||||
|
|
||||||
+2
-4
@@ -5,10 +5,8 @@ BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues"
|
|||||||
LICENSE = "Apache-2.0"
|
LICENSE = "Apache-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||||
|
|
||||||
BRANCH = "4.1"
|
SRCREV = "5ad5325a0aa8effc47ca033625b6a51682f82767"
|
||||||
SRCREV = "f38e7a7ba850b668d4505dd4c712238d7ec63ca8"
|
SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https \
|
||||||
SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH};protocol=https \
|
|
||||||
file://0001-include-sys-time.h.patch \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
Reference in New Issue
Block a user