summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract/0001-Fix-build-with-gcc-13-by-including-cstdint.patch32
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract_5.3.1.bb (renamed from meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb)5
2 files changed, 2 insertions, 35 deletions
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract/0001-Fix-build-with-gcc-13-by-including-cstdint.patch b/meta-oe/recipes-graphics/tesseract/tesseract/0001-Fix-build-with-gcc-13-by-including-cstdint.patch
deleted file mode 100644
index 2978080c92..0000000000
--- a/meta-oe/recipes-graphics/tesseract/tesseract/0001-Fix-build-with-gcc-13-by-including-cstdint.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 2025b53de6b3d97285d7c5f80497493007c586c3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 30 Jan 2023 11:27:07 -0800
4Subject: [PATCH] Fix build with gcc 13 by including <cstdint>
5
6gcc 13 moved some includes around and as a result <cstdint> is
7no longer transitively included [1]. Explicitly include it for
8int32_t.
9
10[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
11
12Upstream-Status: Submitted [https://github.com/tesseract-ocr/tesseract/pull/4009]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/ccutil/params.h | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/ccutil/params.h b/src/ccutil/params.h
19index f514d870..0f3f8743 100644
20--- a/src/ccutil/params.h
21+++ b/src/ccutil/params.h
22@@ -21,6 +21,7 @@
23
24 #include <tesseract/export.h> // for TESS_API
25
26+#include <cstdint>
27 #include <cstdio>
28 #include <cstring>
29 #include <string>
30--
312.39.1
32
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb b/meta-oe/recipes-graphics/tesseract/tesseract_5.3.1.bb
index 057a7cd859..8e54a2791e 100644
--- a/meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb
+++ b/meta-oe/recipes-graphics/tesseract/tesseract_5.3.1.bb
@@ -5,9 +5,8 @@ BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues"
5LICENSE = "Apache-2.0" 5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
7 7
8SRCREV = "080da83cc51c4ef8b324a7e03146fe0bd7e0944b" 8SRCREV = "71af4542990adae6d9f31d6657068bc0139c6ec4"
9SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https \ 9SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https"
10 file://0001-Fix-build-with-gcc-13-by-including-cstdint.patch"
11 10
12S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
13 12