diff options
author | markd <markd> | 2008-01-22 23:59:00 +0000 |
---|---|---|
committer | markd <markd> | 2008-01-22 23:59:00 +0000 |
commit | 34b824bfafd37eff65e85a312c7e020ca76e7bb1 (patch) | |
tree | a90dc97bc6aa1719a975faade89f8c46a7413d3b /print/cups/patches | |
parent | f1197f7a81b0424ae0685b44a787de177d6978ec (diff) | |
download | pkgsrc-34b824bfafd37eff65e85a312c7e020ca76e7bb1.tar.gz |
Missed this patch
Diffstat (limited to 'print/cups/patches')
-rw-r--r-- | print/cups/patches/patch-ae | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/print/cups/patches/patch-ae b/print/cups/patches/patch-ae new file mode 100644 index 00000000000..586684c9d67 --- /dev/null +++ b/print/cups/patches/patch-ae @@ -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); + |