svn commit: r383887 - head/lang/erlang-runtime15/files

Mathieu Arnold mat at FreeBSD.org
Sun Apr 12 22:16:24 UTC 2015


Author: mat
Date: Sun Apr 12 22:16:23 2015
New Revision: 383887
URL: https://svnweb.freebsd.org/changeset/ports/383887

Log:
  Fix with Perl 5.21.1+
  
  With hat:	perl@
  Sponsored by:	Absolight

Added:
  head/lang/erlang-runtime15/files/patch-erts_emulator_utils_beam__makeops   (contents, props changed)

Added: head/lang/erlang-runtime15/files/patch-erts_emulator_utils_beam__makeops
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/erlang-runtime15/files/patch-erts_emulator_utils_beam__makeops	Sun Apr 12 22:16:23 2015	(r383887)
@@ -0,0 +1,11 @@
+--- erts/emulator/utils/beam_makeops.orig	2015-04-12 21:52:03 UTC
++++ erts/emulator/utils/beam_makeops
+@@ -1711,7 +1711,7 @@ sub tr_gen_to {
+ 
+     my $prev_last;
+     $prev_last = pop(@{$gen_transform{$key}})
+-	if defined @{$gen_transform{$key}}; # Fail
++	if defined($gen_transform{$key}) && @{$gen_transform{$key}}; # Fail
+ 
+     if ($prev_last && !is_instr($prev_last, 'fail')) {
+ 	error("Line $line: A previous transformation shadows '$orig_transform'");


More information about the svn-ports-all mailing list