diff options
author | mat <mat@FreeBSD.org> | 2016-05-27 17:04:20 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-05-27 17:04:20 +0800 |
commit | ce581f8e32e186efb25f038575ea4b340acde0e3 (patch) | |
tree | 124f8b05f5e3e66d4f75bf7fd227ae314bfb2f16 /x11-toolkits | |
parent | 87736c3b6c7f12558af5053516b06fcd3d4858ff (diff) | |
download | freebsd-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.pm | 11 |
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 ); |