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 1190c93..f93f2da 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -5,7 +5,7 @@ Summary: A PostScript interpreter and renderer Name: ghostscript Version: %{gs_ver} -Release: 8%{?dist} +Release: 9%{?dist} # Included CMap data is Redistributable, no modification permitted, # see http://bugzilla.redhat.com/487510 @@ -341,6 +341,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libgs.so %changelog +* Tue Mar 16 2010 Tim Waugh 8.71-9 +- Use upstream fix for TIFF default strip size (bug #571520). + * Mon Mar 15 2010 Tim Waugh 8.71-8 - Restore the TIFF default strip size of 0 (bug #571520). - Don't segfault closing tiffg3 device if opening failed (bug #571520).