diff --git a/ports/tesseract/fix-depend-libarchive.patch b/ports/tesseract/fix-depend-libarchive.patch index 5d510e16ec..dd72206fb2 100644 --- a/ports/tesseract/fix-depend-libarchive.patch +++ b/ports/tesseract/fix-depend-libarchive.patch @@ -1,3 +1,5 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bd2649d..c1801a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -792,7 +792,8 @@ if(OpenCL_FOUND) @@ -10,3 +12,12 @@ endif(LibArchive_FOUND) if(CURL_FOUND) if(NOT CURL_LIBRARIES) +@@ -854,7 +855,7 @@ endif() + # ############################################################################## + + add_executable(tesseract src/tesseract.cpp) +-target_link_libraries(tesseract libtesseract) ++target_link_libraries(tesseract libtesseract LibArchive::LibArchive) + if(HAVE_TIFFIO_H AND WIN32) + target_link_libraries(tesseract ${TIFF_LIBRARIES}) + endif() diff --git a/ports/tesseract/vcpkg.json b/ports/tesseract/vcpkg.json index ffc6df5ebb..460f9b77b8 100644 --- a/ports/tesseract/vcpkg.json +++ b/ports/tesseract/vcpkg.json @@ -1,7 +1,7 @@ { "name": "tesseract", "version": "5.2.0", - "port-version": 2, + "port-version": 3, "description": "An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.", "homepage": "https://github.com/tesseract-ocr/tesseract", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 7b408ad185..657649f31c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7302,7 +7302,7 @@ }, "tesseract": { "baseline": "5.2.0", - "port-version": 2 + "port-version": 3 }, "tfhe": { "baseline": "1.0.1", diff --git a/versions/t-/tesseract.json b/versions/t-/tesseract.json index 713e368b7f..f3d85dfcf1 100644 --- a/versions/t-/tesseract.json +++ b/versions/t-/tesseract.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "106efd2adc79ebdcf63488c2cc930b035f01535d", + "version": "5.2.0", + "port-version": 3 + }, { "git-tree": "9d9b7d5ba2e222ee4fb62d4d5f03992e9232a97d", "version": "5.2.0",