svn commit: r415550 - head/devel/llvm37/files

Mathieu Arnold mat at FreeBSD.org
Fri May 20 09:30:25 UTC 2016


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 ) ) {


More information about the svn-ports-head mailing list