Restore R-tesseract_include.patch
This commit is contained in:
parent
4c61021912
commit
9a56a7d2f0
@ -14,6 +14,9 @@ License: ASL 2.0
|
||||
URL: https://CRAN.R-project.org/package=%{packname}
|
||||
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
||||
|
||||
# Fix leptonica include
|
||||
Patch0: R-tesseract_include.patch
|
||||
|
||||
# Here's the R view of the dependencies world:
|
||||
# Depends:
|
||||
# Imports: R-Rcpp >= 0.12.12, R-pdftools >= 1.5, R-curl, R-rappdirs, R-digest
|
||||
|
7
R-tesseract_include.patch
Normal file
7
R-tesseract_include.patch
Normal file
@ -0,0 +1,7 @@
|
||||
diff -rupN --no-dereference a/tesseract/tools/test.cpp b/tesseract/tools/test.cpp
|
||||
--- a/tesseract/tools/test.cpp 2020-03-30 00:30:33.000000000 +0200
|
||||
+++ b/tesseract/tools/test.cpp 2021-12-11 22:49:04.133669737 +0100
|
||||
@@ -1,2 +1,2 @@
|
||||
#include <tesseract/baseapi.h>
|
||||
-#include <allheaders.h>
|
||||
+#include <leptonica/allheaders.h>
|
Loading…
Reference in New Issue
Block a user