- Restore the TIFF default strip size of 0 (bug #571520).
This commit is contained in:
parent
9c4a7af0ae
commit
5c333312ef
12
ghostscript-tiff-default-strip-size.patch
Normal file
12
ghostscript-tiff-default-strip-size.patch
Normal file
@ -0,0 +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
|
||||
@@ -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
|
||||
|
||||
int tiff_set_compression(gx_device_printer *pdev,
|
||||
TIFF *tif,
|
@ -33,6 +33,7 @@ Patch14: ghostscript-ldflags.patch
|
||||
Patch15: ghostscript-pdf2dsc.patch
|
||||
Patch16: ghostscript-cups-realloc-color-depth.patch
|
||||
Patch17: ghostscript-tif-fail-close.patch
|
||||
Patch18: ghostscript-tiff-default-strip-size.patch
|
||||
|
||||
Requires: urw-fonts >= 1.1, ghostscript-fonts
|
||||
BuildRequires: xz
|
||||
@ -158,6 +159,9 @@ rm -rf libpng zlib jpeg jasper
|
||||
# Don't segfault closing tiffg3 device if opening failed (bug #571520).
|
||||
%patch17 -p1 -b .tif-fail-close
|
||||
|
||||
# Restore the TIFF default strip size of 0 (bug #571520).
|
||||
%patch18 -p1 -b .tiff-default-strip-size
|
||||
|
||||
# Convert manual pages to UTF-8
|
||||
from8859_1() {
|
||||
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
|
||||
@ -338,6 +342,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Mon Mar 15 2010 Tim Waugh <twaugh@redhat.com> 8.71-8
|
||||
- Restore the TIFF default strip size of 0 (bug #571520).
|
||||
- Don't segfault closing tiffg3 device if opening failed (bug #571520).
|
||||
- Don't revert gdevcups y-axis change (bug #541604).
|
||||
- Reallocate memory in gdevcups when color depth changes (bug #563313).
|
||||
|
Loading…
Reference in New Issue
Block a user