diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-16 13:53:17 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-16 13:53:17 +0100 |
commit | 0d8774a65816adf9b3d18027a605878d8e4ec9f8 (patch) | |
tree | 6c637c9f12d6e351043cb2ad52d7a7688d155bbe /debian/patches/fix_pdf_xref.patch | |
parent | 66bc6024fa12fb3f7f3bddc8dee752b10f68eefb (diff) |
add debian/* after git-import-orig
Diffstat (limited to 'debian/patches/fix_pdf_xref.patch')
-rw-r--r-- | debian/patches/fix_pdf_xref.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/fix_pdf_xref.patch b/debian/patches/fix_pdf_xref.patch new file mode 100644 index 0000000..0b81e9d --- /dev/null +++ b/debian/patches/fix_pdf_xref.patch @@ -0,0 +1,20 @@ +Description: Fix xref table generation + Mark non-existent objects as free in the xref table. +Author: Julien BLACHE <jblache@debian.org> +Forwarded: yes + +Index: xsane-0.998/src/xsane-multipage-project.c +=================================================================== +--- xsane-0.998.orig/src/xsane-multipage-project.c 2010-11-16 21:25:50.000000000 +0100 ++++ xsane-0.998/src/xsane-multipage-project.c 2011-02-04 19:50:53.929016002 +0100 +@@ -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 |