From e867003f025568cde2fe18e6e2542a51ba33001e Mon Sep 17 00:00:00 2001 From: liuyumeng Date: Fri, 24 Dec 2021 15:39:16 +0800 Subject: [PATCH] fix the dependency package connot find TIFF_SSIZE_T in tiffio.h --- libtiff.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/libtiff.spec b/libtiff.spec index 8e3ae84..eef746d 100644 --- a/libtiff.spec +++ b/libtiff.spec @@ -1,6 +1,6 @@ Name: libtiff Version: 4.3.0 -Release: 4 +Release: 5 Summary: TIFF Library and Utilities License: libtiff URL: https://www.simplesystems.org/libtiff/ @@ -76,7 +76,20 @@ if test -n "$wordsize" then mv %{buildroot}/%{_includedir}/tiffconf.h %{buildroot}/%{_includedir}/tiffconf-$wordsize.h cat >%{buildroot}/%{_includedir}/tiffconf.h < + +#if __WORDSIZE == 32 +# include "tiffconf-32.h" +#elif __WORDSIZE == 64 +# include "tiffconf-64.h" +#else +# error "unexpected value for __WORDSIZE macro" +#endif + +#endif EOF fi @@ -114,6 +127,9 @@ find html -name 'Makefile*' | xargs rm %exclude %{_datadir}/html/man/tiffgt.1.html %changelog +* Fri Dec 24 2021 liuyumeng - 4.3.0-5 +- fix the dependency package connot find TIFF_SSIZE_T in tiffio.h + * Wed Dec 15 2021 liuyumeng - 4.3.0-4 - fix raw2tiff floating point exception