aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-05-27 17:04:20 +0800
committermat <mat@FreeBSD.org>2016-05-27 17:04:20 +0800
commitce581f8e32e186efb25f038575ea4b340acde0e3 (patch)
tree124f8b05f5e3e66d4f75bf7fd227ae314bfb2f16 /x11-toolkits
parent87736c3b6c7f12558af5053516b06fcd3d4858ff (diff)
downloadfreebsd-ports-gnome-ce581f8e32e186efb25f038575ea4b340acde0e3.tar.gz
freebsd-ports-gnome-ce581f8e32e186efb25f038575ea4b340acde0e3.tar.zst
freebsd-ports-gnome-ce581f8e32e186efb25f038575ea4b340acde0e3.zip
Fix building with Perl 5.25.
Unescaped left brace in regex is illegal in regex. Sponsored by: Absolight
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/p5-Wx/files/patch-build_Wx_build_Utils.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Wx/files/patch-build_Wx_build_Utils.pm b/x11-toolkits/p5-Wx/files/patch-build_Wx_build_Utils.pm
new file mode 100644
index 000000000000..1918546da646
--- /dev/null
+++ b/x11-toolkits/p5-Wx/files/patch-build_Wx_build_Utils.pm
@@ -0,0 +1,11 @@
+--- build/Wx/build/Utils.pm.orig 2014-03-08 13:01:15 UTC
++++ build/Wx/build/Utils.pm
+@@ -107,7 +107,7 @@ sub scan_xs($$$) {
+ 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 );