[libcam-pdf-perl] 02/07: Add patch to handle decoded paths.
gregor herrmann
gregoa at debian.org
Sun May 29 21:53:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libcam-pdf-perl.
commit 83c7c2d156f501d712ec8eed9fc720b0efc9c340
Author: gregor herrmann <gregoa at debian.org>
Date: Sun May 29 23:45:53 2016 +0200
Add patch to handle decoded paths.
Thanks: Marco Pessotto for the bug report and patch.
Closes: #811494
---
debian/patches/decoded_path.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/decoded_path.patch b/debian/patches/decoded_path.patch
new file mode 100644
index 0000000..7cc8a12
--- /dev/null
+++ b/debian/patches/decoded_path.patch
@@ -0,0 +1,23 @@
+Description: Fix for failure with decoded paths
+Origin: CPAN RT
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=97560
+Bug-Debian: https://bugs.debian.org/811494
+Author: Marco Pessotto <melmothx at gmail.com>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-05-29
+
+
+--- a/lib/CAM/PDF.pm
++++ b/lib/CAM/PDF.pm
+@@ -311,9 +311,10 @@
+ if (1024 > length $content)
+ {
+ my $file = $content;
++ $content = q{};
++
+ if ($file eq q{-})
+ {
+- $content = q{};
+ my $offset = 0;
+ my $step = 4096;
+ binmode STDIN; ##no critic (Syscalls)
diff --git a/debian/patches/series b/debian/patches/series
index eb88868..98d7c32 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
usr-share-crunchjpg_tmpl.pdf
+decoded_path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcam-pdf-perl.git
More information about the Pkg-perl-cvs-commits
mailing list