0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
termux-packages/packages/k2pdfopt/k2pdfopt-2.53-leptonica-1.83.0.patch
Tee KOBAYASHI 48c04ad503 leptonica: Revbump revdeps to rebuild
due to SOVERSION bump and SONAME change.
2022-12-22 19:16:41 +00:00

21 lines
538 B
Diff

--- a/willuslib/ocrtess.c
+++ b/willuslib/ocrtess.c
@@ -26,6 +26,7 @@
#include <ctype.h>
#include <locale.h>
#include <leptonica/allheaders.h>
+#include <leptonica/pix_internal.h>
#include "willus.h"
#ifdef HAVE_TESSERACT_LIB
--- a/willuslib/wleptonica.c
+++ b/willuslib/wleptonica.c
@@ -24,6 +24,7 @@
#ifdef HAVE_LEPTONICA_LIB
#include <leptonica/allheaders.h>
+#include <leptonica/pix_internal.h>
static void wlept_pix_from_bmp(PIX **pixptr,WILLUSBITMAP *bmp);
static void wlept_bmp_from_pix(WILLUSBITMAP *bmp,PIX *pix);