- Attempt to unbreak the fix for STR #2831 (bug #474742).

This commit is contained in:
Tim Waugh 2008-12-09 12:16:54 +00:00
parent 746c226fe8
commit 277864519c
2 changed files with 19 additions and 1 deletions

13
cups-str2831.patch Normal file
View File

@ -0,0 +1,13 @@
diff -up cups-1.4b1/filter/pstops.c.str2831 cups-1.4b1/filter/pstops.c
--- cups-1.4b1/filter/pstops.c.str2831 2008-12-09 12:14:53.000000000 +0000
+++ cups-1.4b1/filter/pstops.c 2008-12-09 12:14:57.000000000 +0000
@@ -1547,9 +1547,6 @@ copy_page(cups_file_t *fp, /* I - File
else if (!strncmp(line, "%%Include", 9))
continue;
- if (line[0] != '%' && !feature)
- break;
-
if (!feature || (doc->number_up == 1 && !doc->fitplot))
doc_write(doc, line, linelen);
}

View File

@ -7,7 +7,7 @@
Summary: Common Unix Printing System
Name: cups
Version: 1.4
Release: 0.%{pre}.4%{?dist}
Release: 0.%{pre}.5%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}-source.tar.bz2
@ -27,6 +27,7 @@ Source15: textonly.ppd
Patch1: cups-no-gzip-man.patch
Patch2: cups-1.1.16-system-auth.patch
Patch3: cups-multilib.patch
Patch4: cups-str2831.patch
Patch6: cups-banners.patch
Patch7: cups-serverbin-compat.patch
Patch8: cups-no-export-ssllibs.patch
@ -166,6 +167,7 @@ module.
%patch1 -p1 -b .no-gzip-man
%patch2 -p1 -b .system-auth
%patch3 -p1 -b .multilib
%patch4 -p1 -b .str2831
%patch6 -p1 -b .banners
%patch7 -p1 -b .serverbin-compat
%patch8 -p1 -b .no-export-ssllibs
@ -446,6 +448,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/php/modules/*.so
%changelog
* Tue Dec 9 2008 Tim Waugh <twaugh@redhat.com> 1:1.4-0.b1.5
- Attempt to unbreak the fix for STR #2831 (bug #474742).
* Sun Nov 30 2008 Tim Waugh <twaugh@redhat.com> 1:1.4-0.b1.4
- Own more directories (bug #473581).