mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
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
This commit is contained in:
parent
cf65963a1e
commit
872812f666
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384375
11
net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl
Normal file
11
net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl
Normal file
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user