svn commit: r384375 - head/net-mgmt/wmi-client/files

Mathieu Arnold mat at FreeBSD.org
Mon Apr 20 17:37:21 UTC 2015


Author: mat
Date: Mon Apr 20 17:37:20 2015
New Revision: 384375
URL: https://svnweb.freebsd.org/changeset/ports/384375

Log:
  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

Added:
  head/net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl   (contents, props changed)

Added: head/net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/wmi-client/files/patch-Samba_source_pidl_pidl	Mon Apr 20 17:37:20 2015	(r384375)
@@ -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);
+ 	}


More information about the svn-ports-head mailing list