summaryrefslogtreecommitdiff
path: root/debian/patches/06_fix_pdf_xref.dpatch
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2010-03-13 21:14:18 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:50 +0000
commit05f0966f64f56ad3348ce8569324ee6c3e692aa8 (patch)
treee51d62e303adefd66617fa1857c174baf2034d68 /debian/patches/06_fix_pdf_xref.dpatch
parent4aa3c3e04255085feb30735357bf7394c9788d81 (diff)
Imported Debian patch 0.996-4debian/0.996-4
Diffstat (limited to 'debian/patches/06_fix_pdf_xref.dpatch')
-rw-r--r--debian/patches/06_fix_pdf_xref.dpatch21
1 files changed, 0 insertions, 21 deletions
diff --git a/debian/patches/06_fix_pdf_xref.dpatch b/debian/patches/06_fix_pdf_xref.dpatch
deleted file mode 100644
index 60cc285..0000000
--- a/debian/patches/06_fix_pdf_xref.dpatch
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 06_fix_pdf_xref.dpatch by <jblache@debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Mark non-existent objects as free in the xref table.
-
-@DPATCH@
-diff -urNad xsane-0.995~/src/xsane-multipage-project.c xsane-0.995/src/xsane-multipage-project.c
---- xsane-0.995~/src/xsane-multipage-project.c 2007-05-17 14:57:31.000000000 +0200
-+++ xsane-0.995/src/xsane-multipage-project.c 2008-09-17 21:54:28.871207862 +0200
-@@ -973,6 +973,10 @@
- else if (output_format == XSANE_PDF)
- {
- xsane_save_pdf_create_document_header(outfile, &xref, pages, preferences.save_pdf_flatedecoded);
-+
-+ /* Objects 4 and 5 are unused and do not exist */
-+ xref.obj[4] = 0;
-+ xref.obj[5] = 0;
- }
- }
- #ifdef HAVE_LIBTIFF