ports/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Filer_Version.pm
Sunpoet Po-Chuan Hsieh 9abbb4ad9d - Update to 500.002
- Use single space after WWW:
- While I'm here:
  - Add LICENSE
  - Remove unnecessary MASTER_SITE_SUBDIR
  - Sort *_DEPENDS
  - Use TEST_DEPENDS

Changes:	http://search.cpan.org/dist/NetApp/CHANGES
PR:		ports/185417
Submitted by:	Hung-Yi Chen <gaod@hychen.org>
Approved by:	snowfly <snowfly@yuntech.edu.tw> (maintainer)
2014-03-07 11:44:28 +00:00

11 lines
466 B
Perl

--- lib/NetApp/Filer/Version.pm.orig 2013-12-30 22:00:16.000000000 +0800
+++ lib/NetApp/Filer/Version.pm 2013-12-30 22:00:33.000000000 +0800
@@ -40,7 +40,7 @@
$string_of{$ident} = $args{string};
$args{string} =~
- m{ NetApp \s+ Release \s+ (\S+) : \s+ (.*) }gmx ||
+ m{ NetApp \s+ Release \s+ (.+): \s+ (.+) }gmx ||
croak ("Invalid version string: $args{string}\n");
$release_of{$ident} = $1;