Date: Fri, 20 May 2016 09:30:24 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415550 - head/devel/llvm37/files Message-ID: <201605200930.u4K9UOAF037811@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Fri May 20 09:30:24 2016 New Revision: 415550 URL: https://svnweb.freebsd.org/changeset/ports/415550 Log: Fix build with Perl 5.25 (and a warning with Perl 5.22) Braces should be escaped in regexps. With hat: perl@ Sponsored by: Absolight Added: head/devel/llvm37/files/patch-tools_openmp_runtime_tools_expand-vars.pl (contents, props changed) Added: head/devel/llvm37/files/patch-tools_openmp_runtime_tools_expand-vars.pl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm37/files/patch-tools_openmp_runtime_tools_expand-vars.pl Fri May 20 09:30:24 2016 (r415550) @@ -0,0 +1,11 @@ +--- tools/openmp/runtime/tools/expand-vars.pl.orig 2014-02-24 10:40:15 UTC ++++ tools/openmp/runtime/tools/expand-vars.pl +@@ -113,7 +113,7 @@ $bulk = read_file( $input ); + + # Do the replacements. + $bulk =~ +- s{(?:\$($keyword_rexp)|\$($name_rexp)|\${{(.*?)}})} ++ s{(?:\$($keyword_rexp)|\$($name_rexp)|\$\{\{(.*?)\}\})} + { + my $value; + if ( defined( $1 ) ) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605200930.u4K9UOAF037811>