Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 22:16:23 +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: r383887 - head/lang/erlang-runtime15/files
Message-ID:  <201504122216.t3CMGNIx048194@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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'");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504122216.t3CMGNIx048194>