From 872812f666673b95408c85a6573d4853d0e6c04e Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 20 Apr 2015 17:37:20 +0000 Subject: 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 --- net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl (limited to 'net-mgmt/wmi-client') 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); + } -- cgit v1.2.3