diff -Nru ghostscript-9.05~dfsg/debian/changelog ghostscript-9.05~dfsg/debian/changelog --- ghostscript-9.05~dfsg/debian/changelog 2012-07-11 19:01:17.000000000 +0200 +++ ghostscript-9.05~dfsg/debian/changelog 2012-08-28 21:07:51.000000000 +0200 @@ -1,3 +1,11 @@ +ghostscript (9.05~dfsg-0ubuntu4.2) precise-proposed; urgency=low + + * debian/patches/020120828-535d11e-disable-checking-for-the-max-pdf-object-number-during-pdf-linearisation.patch: + Disable checking for the max pdf object number during PDF linearisation, + because linearisation adds a few new objects to the PDF file (LP: #1032366). + + -- Till Kamppeter Tue, 28 Aug 2012 21:07:13 +0200 + ghostscript (9.05~dfsg-0ubuntu4.1) precise-proposed; urgency=low * debian/patches/020120711-4f6b985-write-transparent-type2-pattern-color-to-clist.patch: diff -Nru ghostscript-9.05~dfsg/debian/patches/020120828-535d11e-disable-checking-for-the-max-pdf-object-number-during-pdf-linearisation.patch ghostscript-9.05~dfsg/debian/patches/020120828-535d11e-disable-checking-for-the-max-pdf-object-number-during-pdf-linearisation.patch --- ghostscript-9.05~dfsg/debian/patches/020120828-535d11e-disable-checking-for-the-max-pdf-object-number-during-pdf-linearisation.patch 1970-01-01 01:00:00.000000000 +0100 +++ ghostscript-9.05~dfsg/debian/patches/020120828-535d11e-disable-checking-for-the-max-pdf-object-number-during-pdf-linearisation.patch 2012-08-28 21:05:07.000000000 +0200 @@ -0,0 +1,11 @@ +--- a/lib/pdfopt.ps ++++ b/lib/pdfopt.ps +@@ -1010,6 +1010,8 @@ + 40 dict begin + /IDict exch def + /OFile exch def ++ % Disable check for the max object number because pdfopt adds new objects. ++ /NumObjects 16#7fffffff store + /starttime exch def + /ToWrite 100 dict def + /now { diff -Nru ghostscript-9.05~dfsg/debian/patches/series ghostscript-9.05~dfsg/debian/patches/series --- ghostscript-9.05~dfsg/debian/patches/series 2012-07-11 19:00:23.000000000 +0200 +++ ghostscript-9.05~dfsg/debian/patches/series 2012-08-28 21:04:29.000000000 +0200 @@ -4,3 +4,4 @@ 020120319-d6f83df-ps2write-not3ccitt-option.patch 020120329-be64563-pdfwrite-when-a-charstring-is-not-found-for-a-glyph-use-the-notdef-width-instead-of-0.patch 020120711-4f6b985-write-transparent-type2-pattern-color-to-clist.patch +020120828-535d11e-disable-checking-for-the-max-pdf-object-number-during-pdf-linearisation.patch