Edit

IABSD.fr/ports/converters/k2pdfopt/patches/patch-willuslib_bmpdjvu_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_bmpdjvu_c
  • Patch from Debian: "use system djvu", see
    https://sources.debian.org/patches/k2pdfopt/2.55%2Bds-2/0010-willuslib-use-system-djvu.patch/
    
    Index: willuslib/bmpdjvu.c
    --- willuslib/bmpdjvu.c.orig
    +++ willuslib/bmpdjvu.c
    @@ -23,7 +23,7 @@
     #include "willus.h"
     
     #ifdef HAVE_DJVU_LIB
    -#include <djvu.h>
    +#include <libdjvu/ddjvuapi.h>
     
     static void handle(int wait,ddjvu_context_t *ctx);
     static void djvu_add_page_info(char *buf,ddjvu_document_t *doc,int page,int npages);