pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups/patches Missed this patch
details: https://anonhg.NetBSD.org/pkgsrc/rev/78c4f07c22c9
branches: trunk
changeset: 537977:78c4f07c22c9
user: markd <markd%pkgsrc.org@localhost>
date: Tue Jan 22 23:59:00 2008 +0000
description:
Missed this patch
diffstat:
print/cups/patches/patch-ae | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r b60905d7e4e6 -r 78c4f07c22c9 print/cups/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups/patches/patch-ae Tue Jan 22 23:59:00 2008 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.18 2008/01/22 23:59:00 markd Exp $
+
+post 1.3.5 fix from svn.
+
+Index: pstops.c
+===================================================================
+--- filter/pstops.c (revision 7067)
++++ filter/pstops.c (revision 7175)
+@@ -889,7 +889,8 @@
+ * Finish up the last page(s)...
+ */
+
+- if (number && !is_first_page(number) && cupsArrayLast(doc->pages))
++ if (number && is_not_last_page(number) && cupsArrayLast(doc->pages) &&
++ check_range(doc, (number - 1) / doc->number_up + 1))
+ {
+ pageinfo = (pstops_page_t *)cupsArrayLast(doc->pages);
+
Home |
Main Index |
Thread Index |
Old Index