diff --git a/add-pix_internal.h-to-alltypes.h.patch b/add-pix_internal.h-to-alltypes.h.patch new file mode 100644 index 0000000..44017ab --- /dev/null +++ b/add-pix_internal.h-to-alltypes.h.patch @@ -0,0 +1,24 @@ +From b9b46c91092627085936660f4fb32691fbce166a Mon Sep 17 00:00:00 2001 +From: peijiankang +Date: Tue, 26 Sep 2023 09:46:28 +0800 +Subject: [PATCH] add pix_internal.h to alltypes.h + +--- + src/alltypes.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/alltypes.h b/src/alltypes.h +index f3a3823..1fd0ae3 100644 +--- a/src/alltypes.h ++++ b/src/alltypes.h +@@ -58,6 +58,7 @@ + #include "jbclass.h" + #include "morph.h" + #include "pix.h" ++#include "pix_internal.h" + #include "recog.h" + #include "regutils.h" + #include "stringcode.h" +-- +2.41.0 + diff --git a/leptonica.spec b/leptonica.spec index b3e2fd3..0ec129a 100644 --- a/leptonica.spec +++ b/leptonica.spec @@ -1,10 +1,11 @@ Name: leptonica Version: 1.83.1 -Release: 1 +Release: 2 Summary: C library for efficient image processing and image analysis operations License: Leptonica URL: https://github.com/danbloomberg/leptonica Source0: https://github.com/DanBloomberg/leptonica/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: add-pix_internal.h-to-alltypes.h.patch BuildRequires: gcc automake autoconf libtool giflib-devel libjpeg-devel libpng-devel BuildRequires: libtiff-devel libwebp-devel zlib-devel @@ -73,6 +74,9 @@ make check VERBOSE=1 %{_bindir}/* %changelog +* Tue Sep 26 2023 peijiankang - 1.83.1-2 +- add add-pix_internal.h-to-alltypes.h.patch + * Tue Aug 22 2023 liyanan - 1.83.1-1 - Update to 1.83.1