package/tesseract-ocr: bump to version 4.1.1
authorGilles Talis <gilles.talis@gmail.com>
Tue, 31 Dec 2019 10:40:35 +0000 (11:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 31 Dec 2019 14:26:03 +0000 (15:26 +0100)
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>
package/tesseract-ocr/0001-Use-long-instead-of-off_t-for-result-from-ftell.patch [deleted file]
package/tesseract-ocr/tesseract-ocr.hash
package/tesseract-ocr/tesseract-ocr.mk

diff --git a/package/tesseract-ocr/0001-Use-long-instead-of-off_t-for-result-from-ftell.patch b/package/tesseract-ocr/0001-Use-long-instead-of-off_t-for-result-from-ftell.patch
deleted file mode 100644 (file)
index 7cb5d68..0000000
+++ /dev/null
@@ -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);
index a5601adfc742e06c2c2bb8bceceeaf3b1ec07228..808ea174ef5b88e0e73d97d207d0c1d2e3e2de6e 100644 (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
index 0fbbb9342290147dba56f2e280821802e85d81a0..4d2df5cb39798e948c1ae798b65d127e67569005 100644 (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