Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2015 13:53:39 +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: r384360 - head/games/acm/files
Message-ID:  <201504201353.t3KDrdQr005592@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Apr 20 13:53:39 2015
New Revision: 384360
URL: https://svnweb.freebsd.org/changeset/ports/384360

Log:
  Fix build with Perl 5.21.1+
  
  Omitting % and @ on hash and array names is no longer permitted
      Really old Perl let you omit the @ on array names and the % on hash
      names in some spots.  This has issued a deprecation warning since Perl
      5.0, and is no longer permitted.
  
  With hat:	perl@
  Sponsored by:	Absolight

Added:
  head/games/acm/files/patch-dis_data_create-tables-4   (contents, props changed)
  head/games/acm/files/patch-dis_data_create-tables-5   (contents, props changed)

Added: head/games/acm/files/patch-dis_data_create-tables-4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/acm/files/patch-dis_data_create-tables-4	Mon Apr 20 13:53:39 2015	(r384360)
@@ -0,0 +1,19 @@
+--- dis/data/create-tables-4.orig	1996-01-04 17:20:34 UTC
++++ dis/data/create-tables-4
+@@ -36,7 +36,7 @@ while (<ENTITIES>) {
+ 	@last_a = @a;
+ 
+ }
+-dbmclose (entities);
++dbmclose (%entities);
+ close (ENTITIES);
+ 
+ open (SITES, "./sites");
+@@ -51,6 +51,6 @@ while (<SITES>) {
+ 	$sites{$key} = $a[1];
+     }
+ }
+-dbmclose (sites);
++dbmclose (%sites);
+ close (ENTITIES);
+ 

Added: head/games/acm/files/patch-dis_data_create-tables-5
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/acm/files/patch-dis_data_create-tables-5	Mon Apr 20 13:53:39 2015	(r384360)
@@ -0,0 +1,19 @@
+--- dis/data/create-tables-5.orig	1996-01-04 17:20:40 UTC
++++ dis/data/create-tables-5
+@@ -38,7 +38,7 @@ while (<ENTITIES>) {
+ 	@last_a = @a;
+ 
+ }
+-dbmclose (entities);
++dbmclose (%entities);
+ close (ENTITIES);
+ 
+ open (SITES, "./sites");
+@@ -53,6 +53,6 @@ while (<SITES>) {
+ 	$sites{$key} = $a[1];
+     }
+ }
+-dbmclose (sites);
++dbmclose (%sites);
+ close (ENTITIES);
+ 



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