From 561959feca9727b17e676dde4e754ae72b731511 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 16 Mar 2010 10:02:37 +0000 Subject: [PATCH] - Use upstream fix for TIFF default strip size (bug #571520). --- ghostscript-tiff-default-strip-size.patch | 6 +++--- ghostscript.spec | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ghostscript-tiff-default-strip-size.patch b/ghostscript-tiff-default-strip-size.patch index ee9f318..59d3815 100644 --- a/ghostscript-tiff-default-strip-size.patch +++ b/ghostscript-tiff-default-strip-size.patch @@ -1,12 +1,12 @@ diff -up ghostscript-8.71/base/gdevtifs.h.tiff-default-strip-size ghostscript-8.71/base/gdevtifs.h ---- ghostscript-8.71/base/gdevtifs.h.tiff-default-strip-size 2010-03-15 16:42:06.892248676 +0000 -+++ ghostscript-8.71/base/gdevtifs.h 2010-03-15 16:42:26.890373466 +0000 +--- ghostscript-8.71/base/gdevtifs.h.tiff-default-strip-size 2010-02-04 17:47:57.000000000 +0000 ++++ ghostscript-8.71/base/gdevtifs.h 2010-03-16 09:58:29.269600052 +0000 @@ -50,7 +50,7 @@ int tiff_print_page(gx_device_printer *d * Sets the compression tag for TIFF and updates the rows_per_strip tag to * reflect max_strip_size under the new compression scheme. */ -#define TIFF_DEFAULT_STRIP_SIZE 8192 -+#define TIFF_DEFAULT_STRIP_SIZE 0 ++#define TIFF_DEFAULT_STRIP_SIZE 1048576 int tiff_set_compression(gx_device_printer *pdev, TIFF *tif, diff --git a/ghostscript.spec b/ghostscript.spec index a826192..5c03a24 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -5,7 +5,7 @@ Summary: A PostScript interpreter and renderer. Name: ghostscript Version: %{gs_ver} -Release: 5%{?dist} +Release: 6%{?dist} # Included CMap data is Redistributable, no modification permitted, # see http://bugzilla.redhat.com/487510 @@ -348,6 +348,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libgs.so %changelog +* Tue Mar 16 2010 Tim Waugh 8.71-6 +- Use upstream fix for TIFF default strip size (bug #571520). + * Mon Mar 15 2010 Tim Waugh 8.71-5 - Restore the TIFF default strip size of 0 (bug #571520). - Don't revert gdevcups y-axis change (bug #541604).