diff options
author | mat <mat@FreeBSD.org> | 2015-04-20 21:53:39 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-04-20 21:53:39 +0800 |
commit | d52feeb630b1b7468f3953be3cb464cc4413171b (patch) | |
tree | 7d0b2215ed4024180dcce36cbf92fe24c11283f7 /games | |
parent | ff621b1ef33af339d99cc4b779a29efb4e623548 (diff) | |
download | freebsd-ports-gnome-d52feeb630b1b7468f3953be3cb464cc4413171b.tar.gz freebsd-ports-gnome-d52feeb630b1b7468f3953be3cb464cc4413171b.tar.zst freebsd-ports-gnome-d52feeb630b1b7468f3953be3cb464cc4413171b.zip |
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
Diffstat (limited to 'games')
-rw-r--r-- | games/acm/files/patch-dis_data_create-tables-4 | 19 | ||||
-rw-r--r-- | games/acm/files/patch-dis_data_create-tables-5 | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/games/acm/files/patch-dis_data_create-tables-4 b/games/acm/files/patch-dis_data_create-tables-4 new file mode 100644 index 000000000000..e82e25475487 --- /dev/null +++ b/games/acm/files/patch-dis_data_create-tables-4 @@ -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); + diff --git a/games/acm/files/patch-dis_data_create-tables-5 b/games/acm/files/patch-dis_data_create-tables-5 new file mode 100644 index 000000000000..bb4ee73a35fd --- /dev/null +++ b/games/acm/files/patch-dis_data_create-tables-5 @@ -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); + |