diff options
author | mat <mat@FreeBSD.org> | 2015-04-21 01:37:20 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-04-21 01:37:20 +0800 |
commit | 48404cec2fb66408318b6475e5fe6e16a564101f (patch) | |
tree | 7ba0b531f9c996595c18d930624d2d95ad2bd2dd /net-mgmt/wmi-client | |
parent | 57d3cb777c23c105174119e46643263508a818ef (diff) | |
download | freebsd-ports-gnome-48404cec2fb66408318b6475e5fe6e16a564101f.tar.gz freebsd-ports-gnome-48404cec2fb66408318b6475e5fe6e16a564101f.tar.zst freebsd-ports-gnome-48404cec2fb66408318b6475e5fe6e16a564101f.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
Diffstat (limited to 'net-mgmt/wmi-client')
-rw-r--r-- | net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl | 11 |
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); + } |