package/tesseract-ocr: bump to version 4.1.1

Also removed one patch that was merged upstream

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Gilles Talis 2019-12-31 11:40:35 +01:00 committed by Thomas Petazzoni
parent 84ad39f5b2
commit f35910ddec
3 changed files with 2 additions and 28 deletions

View File

@ -1,26 +0,0 @@
From d4e0ab3014c57e519513c10b8e23d8bf66610bff Mon Sep 17 00:00:00 2001
From: Stefan Weil <sw@weilnetz.de>
Date: Wed, 17 Jul 2019 21:11:53 +0200
Subject: [PATCH] Use long instead of off_t for result from ftell
Signed-off-by: Stefan Weil <sw@weilnetz.de>
[Retrieved from:
https://github.com/tesseract-ocr/tesseract/commit/d4e0ab3014c57e519513c10b8e23d8bf66610bff]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
src/ccutil/scanutils.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ccutil/scanutils.cpp b/src/ccutil/scanutils.cpp
index da0c6918e..ea376a570 100644
--- a/src/ccutil/scanutils.cpp
+++ b/src/ccutil/scanutils.cpp
@@ -214,7 +214,7 @@ static int tvfscanf(FILE* stream, const char *format, va_list ap) {
(CHAR_BIT * sizeof(long))];
int matchinv = 0; // Is match map inverted?
unsigned char range_start = 0;
- off_t start_off = ftell(stream);
+ long start_off = ftell(stream);
// Skip leading spaces
SkipSpace(stream);

View File

@ -1,5 +1,5 @@
# locally computed
sha256 5c5ed5f1a76888dc57a83704f24ae02f8319849f5c4cf19d254296978a1a1961 tesseract-ocr-4.1.0.tar.gz
sha256 2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb tesseract-ocr-4.1.1.tar.gz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
sha256 daa0c97d651c19fba3b25e81317cd697e9908c8208090c94c3905381c23fc047 eng.traineddata
sha256 eac01c1d72540d6090facb7b2f42dd0a2ee8fc57c5be1b20548ae668e2761913 fra.traineddata

View File

@ -4,7 +4,7 @@
#
################################################################################
TESSERACT_OCR_VERSION = 4.1.0
TESSERACT_OCR_VERSION = 4.1.1
TESSERACT_OCR_DATA_VERSION = 4.0.0
TESSERACT_OCR_SITE = $(call github,tesseract-ocr,tesseract,$(TESSERACT_OCR_VERSION))
TESSERACT_OCR_LICENSE = Apache-2.0