diff --git a/.gitignore b/.gitignore index f44a741..ab14898 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /tiff-4.0.5.tar.gz /tiff-4.0.6.tar.gz /tiff-4.0.7.tar.gz +/tiff-4.0.8.tar.gz diff --git a/libtiff-hylafax-fix.patch b/libtiff-hylafax-fix.patch deleted file mode 100644 index cdf2fcd..0000000 --- a/libtiff-hylafax-fix.patch +++ /dev/null @@ -1,35 +0,0 @@ -From dacc8bd0dd8b50e9d1c84c4c19aedcbb8f026bee Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Nikola=20Forr=C3=B3?= -Date: Tue, 24 Jan 2017 14:32:18 +0100 -Subject: [PATCH] * libtiff/tif_fax3.h: revert change done on 2016-01-09 that - made Param member of TIFFFaxTabEnt structure a uint16 to reduce size of the - binary. It happens that the Hylafax software uses the tables that follow this - typedef (TIFFFaxMainTable, TIFFFaxWhiteTable, TIFFFaxBlackTable), also they - are not in a public libtiff header. Raised by Lee Howard. Fixes - http://bugzilla.maptools.org/show_bug.cgi?id=2636 - ---- - libtiff/tif_fax3.h | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/libtiff/tif_fax3.h b/libtiff/tif_fax3.h -index e0b2ca6..1715d3e 100644 ---- a/libtiff/tif_fax3.h -+++ b/libtiff/tif_fax3.h -@@ -81,10 +81,12 @@ extern void _TIFFFax3fillruns(unsigned char*, uint32*, uint32*, uint32); - #define S_MakeUp 11 - #define S_EOL 12 - -+/* WARNING: do not change the layout of this structure as the HylaFAX software */ -+/* really depends on it. See http://bugzilla.maptools.org/show_bug.cgi?id=2636 */ - typedef struct { /* state table entry */ - unsigned char State; /* see above */ - unsigned char Width; /* width of code in bits */ -- uint16 Param; /* unsigned 16-bit run length in bits */ -+ uint32 Param; /* unsigned 32-bit run length in bits (holds on 16 bit actually, but cannot be changed. See above warning) */ - } TIFFFaxTabEnt; - - extern const TIFFFaxTabEnt TIFFFaxMainTable[]; --- -2.7.4 - diff --git a/libtiff.spec b/libtiff.spec index 1f1b07c..0c0e4ee 100644 --- a/libtiff.spec +++ b/libtiff.spec @@ -1,7 +1,7 @@ Summary: Library of functions for manipulating TIFF format image files Name: libtiff -Version: 4.0.7 -Release: 2%{?dist} +Version: 4.0.8 +Release: 1%{?dist} License: libtiff Group: System Environment/Libraries URL: http://www.simplesystems.org/libtiff/ @@ -10,7 +10,6 @@ Source: ftp://ftp.simplesystems.org/pub/libtiff/tiff-%{version}.tar.gz Patch0: libtiff-am-version.patch Patch1: libtiff-make-check.patch -Patch2: libtiff-hylafax-fix.patch BuildRequires: zlib-devel libjpeg-devel jbigkit-devel BuildRequires: libtool automake autoconf pkgconfig @@ -63,7 +62,6 @@ image files using the libtiff library. %patch0 -p1 %patch1 -p1 -%patch2 -p1 # Use build system's libtool.m4, not the one in the package. rm -f libtool.m4 @@ -169,6 +167,9 @@ find html -name 'Makefile*' | xargs rm %{_mandir}/man1/* %changelog +* Mon May 22 2017 Nikola Forró - 4.0.8-1 +- New upstream version libtiff-4.0.8 (#1453030) + * Tue Jan 24 2017 Nikola Forró - 4.0.7-2 - Fix Hylafax breakage (#1416042) diff --git a/sources b/sources index 00f284a..7a454e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -77ae928d2c6b7fb46a21c3a29325157b tiff-4.0.7.tar.gz +SHA512 (tiff-4.0.8.tar.gz) = 5d010ec4ce37aca733f7ab7db9f432987b0cd21664bd9d99452a146833c40f0d1e7309d1870b0395e947964134d5cfeb1366181e761fe353ad585803ff3d6be6