Edit

IABSD.fr/ports/converters/k2pdfopt/patches/patch-willuslib_ocrtess_c

Branch :

  • Show log

    Commit

  • Author : caspar
    Date : 2024-04-18 16:15:44
    Hash : 500e8078
    Message : converters/k2pdfopt: unbreak and update to 2.55 I borrowed some patches from Debian. Contrary to the earlier non-broken situation, integration with Tesseract is not enabled right now. Take MAINTAINER. Suggestion to replace pre-patch target with FIX_CRLF_FILES from sthen@ OK sthen@

  • converters/k2pdfopt/patches/patch-willuslib_ocrtess_c
  • Patch from Debian: "use system leptonica", see
    https://sources.debian.org/patches/k2pdfopt/2.55%2Bds-2/0005-willuslib-use-system-leptonica.patch/
    
    Index: willuslib/ocrtess.c
    --- willuslib/ocrtess.c.orig
    +++ willuslib/ocrtess.c
    @@ -25,8 +25,7 @@
     #include <string.h>
     #include <ctype.h>
     #include <locale.h>
    -#include <leptonica.h>
    -#include <tesseract.h>
    +#include <leptonica/allheaders.h>
     #include "willus.h"
     
     char *ocrtess_langnames[] =