vp-build/srcpkgs/pdfsandwich/patches/00-fix-tesseract-path.patch

14 lines
597 B
Diff

diff --git pdfsandwich.ml pdfsandwich.ml
index 10c92a0..c32f803 100644
--- pdfsandwich.ml
+++ pdfsandwich.ml
@@ -19,7 +19,7 @@ let global_temp_dir = Filename.temp_file "pdfsandwich_tmp" "";;
let unpaper = ref "unpaper";;
let identify = ref "identify";;
let convert = ref "convert";;
-let tesseract = ref "tesseract";; (* this will be preceded by the OMP_THREAD_LIMIT (see options) *)
+let tesseract = ref "tesseract-ocr";; (* this will be preceded by the OMP_THREAD_LIMIT (see options) *)
let pdfinfo = ref "pdfinfo";;
let pdfunite = ref "pdfunite";;
let hocr2pdf = ref "hocr2pdf";;