aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/wmi-client
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-20 17:37:20 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-20 17:37:20 +0000
commit872812f666673b95408c85a6573d4853d0e6c04e (patch)
tree7ba0b531f9c996595c18d930624d2d95ad2bd2dd /net-mgmt/wmi-client
parentcf65963a1efce67cf9ef150c4eef482fc1b0ef11 (diff)
downloadports-872812f666673b95408c85a6573d4853d0e6c04e.tar.gz
ports-872812f666673b95408c85a6573d4853d0e6c04e.zip
Fix build with Perl 5.21.1+
"defined(@array)" and "defined(%hash)" are now fatal errors These have been deprecated since v5.6.1 and have raised deprecation warnings since v5.16. With hat: perl@ Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=384375
Diffstat (limited to 'net-mgmt/wmi-client')
-rw-r--r--net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl b/net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl
new file mode 100644
index 000000000000..1e22e0ee99bd
--- /dev/null
+++ b/net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl
@@ -0,0 +1,11 @@
+--- Samba/source/pidl/pidl.orig 2008-07-30 19:44:55 UTC
++++ Samba/source/pidl/pidl
+@@ -580,7 +580,7 @@ sub process_file($)
+ require Parse::Pidl::IDL;
+
+ $pidl = Parse::Pidl::IDL::parse_file($idl_file, \@opt_incdirs);
+- defined @$pidl || die "Failed to parse $idl_file";
++ @$pidl || die "Failed to parse $idl_file";
+ require Parse::Pidl::Typelist;
+ Parse::Pidl::Typelist::LoadIdl($pidl);
+ }