[libparse-debianchangelog-perl] 01/02: New patch: don't trim file names in error messages.
gregor herrmann
gregoa at debian.org
Sat Oct 8 13:29:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libparse-debianchangelog-perl.
commit c78c5bc81efa285a4e5ce5820b612fca0f4addfd
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Oct 8 15:24:13 2016 +0200
New patch: don't trim file names in error messages.
Thanks: Christoph Biedl for the bug report.
Closes: #840099
---
debian/patches/dont-trim-filenames-in-errors.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/dont-trim-filenames-in-errors.patch b/debian/patches/dont-trim-filenames-in-errors.patch
new file mode 100644
index 0000000..5606cd1
--- /dev/null
+++ b/debian/patches/dont-trim-filenames-in-errors.patch
@@ -0,0 +1,17 @@
+Description: Don't shorten file names in error messages.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/840099
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-10-08
+
+--- a/lib/Parse/DebianChangelog.pm
++++ b/lib/Parse/DebianChangelog.pm
+@@ -163,7 +163,6 @@ sub _do_parse_error {
+
+ push @{$self->{errors}{parser}}, [ @_ ];
+
+- $file = substr $file, 0, 20;
+ unless ($self->{config}{quiet}) {
+ if ($line) {
+ warn "WARN: $file(l$.): $error\nLINE: $line\n";
diff --git a/debian/patches/series b/debian/patches/series
index 2ca21f8..b00afa5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ Build.PL-when-a-PO_BUILD_DATE-environment-variable-i.patch
Remove-support-for-broken-timezone.patch
html-rev_made-rel_author.patch
timestamp-dpkg-1.18.8.patch
+dont-trim-filenames-in-errors.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-debianchangelog-perl.git
More information about the Pkg-perl-cvs-commits
mailing list