[libwx-perl] 01/02: Add patch to fix "Unescaped left brace" warning/error
gregor herrmann
gregoa at debian.org
Sat May 20 09:54:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libwx-perl.
commit 6bb5947568f16674be93edbc1a7912731ab7f2a2
Author: gregor herrmann <gregoa at debian.org>
Date: Sat May 20 11:47:24 2017 +0200
Add patch to fix "Unescaped left brace" warning/error
which becomes fatal in 5.25.x.
Closes: #826463
---
debian/patches/series | 1 +
debian/patches/unescaped_left_brace.patch | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 8bbd329..624a1bb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ fix-fake-pod.patch
spelling.patch
0001-Fix-Wx-_load_plugin-segfaulting-when-wxPluginManager.patch
reproducible_output.patch
+unescaped_left_brace.patch
diff --git a/debian/patches/unescaped_left_brace.patch b/debian/patches/unescaped_left_brace.patch
new file mode 100644
index 0000000..48481c7
--- /dev/null
+++ b/debian/patches/unescaped_left_brace.patch
@@ -0,0 +1,19 @@
+Description: fix "Unescaped left brace" warning, which is fatal in 5.25.x
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=115103
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826463
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=115103
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-05-20
+
+--- a/build/Wx/build/Utils.pm
++++ b/build/Wx/build/Utils.pm
+@@ -107,7 +107,7 @@
+ m/^\s*INCLUDE:\s+(.*)$/ and $file = $1 and $arr = \@xsinclude;
+ m/^\s*INCLUDE_COMMAND:\s+.*\s(\S+\.(?:xsp?|h))\s*/ and $file = $1 and
+ $arr = \@xsinclude;
+- m/^\s*\%include{([^}]+)}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude;
++ m/^\s*\%include\{([^}]+)}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude;
+
+ if( defined $file ) {
+ $file = catfile( split '/', $file );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwx-perl.git
More information about the Pkg-perl-cvs-commits
mailing list