- Use upstream fix for TIFF default strip size (bug #571520).
This commit is contained in:
parent
636305d658
commit
37694f5adf
@ -1,12 +1,12 @@
|
|||||||
diff -up ghostscript-8.71/base/gdevtifs.h.tiff-default-strip-size ghostscript-8.71/base/gdevtifs.h
|
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.tiff-default-strip-size 2010-02-04 17:47:57.000000000 +0000
|
||||||
+++ ghostscript-8.71/base/gdevtifs.h 2010-03-15 16:42:26.890373466 +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
|
@@ -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
|
* Sets the compression tag for TIFF and updates the rows_per_strip tag to
|
||||||
* reflect max_strip_size under the new compression scheme.
|
* reflect max_strip_size under the new compression scheme.
|
||||||
*/
|
*/
|
||||||
-#define TIFF_DEFAULT_STRIP_SIZE 8192
|
-#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,
|
int tiff_set_compression(gx_device_printer *pdev,
|
||||||
TIFF *tif,
|
TIFF *tif,
|
||||||
|
@ -5,7 +5,7 @@ Summary: A PostScript interpreter and renderer
|
|||||||
Name: ghostscript
|
Name: ghostscript
|
||||||
Version: %{gs_ver}
|
Version: %{gs_ver}
|
||||||
|
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
|
|
||||||
# Included CMap data is Redistributable, no modification permitted,
|
# Included CMap data is Redistributable, no modification permitted,
|
||||||
# see http://bugzilla.redhat.com/487510
|
# see http://bugzilla.redhat.com/487510
|
||||||
@ -341,6 +341,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libgs.so
|
%{_libdir}/libgs.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 16 2010 Tim Waugh <twaugh@redhat.com> 8.71-9
|
||||||
|
- Use upstream fix for TIFF default strip size (bug #571520).
|
||||||
|
|
||||||
* Mon Mar 15 2010 Tim Waugh <twaugh@redhat.com> 8.71-8
|
* Mon Mar 15 2010 Tim Waugh <twaugh@redhat.com> 8.71-8
|
||||||
- Restore the TIFF default strip size of 0 (bug #571520).
|
- Restore the TIFF default strip size of 0 (bug #571520).
|
||||||
- Don't segfault closing tiffg3 device if opening failed (bug #571520).
|
- Don't segfault closing tiffg3 device if opening failed (bug #571520).
|
||||||
|
Loading…
Reference in New Issue
Block a user