Index: third_party/devscripts/licensecheck.pl |
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl |
index 40057ccba587e33fd925ba62dc3b8beb00f0b296..901e52920ae3cb962f83059817078083fa260f6b 100755 |
--- a/third_party/devscripts/licensecheck.pl |
+++ b/third_party/devscripts/licensecheck.pl |
@@ -125,7 +125,7 @@ Adam D. Barratt <adam@adam-barratt.org.uk> |
use strict; |
use warnings; |
-use Getopt::Long; |
+use Getopt::Long qw(:config gnu_getopt); |
use File::Basename; |
sub fatal($); |
@@ -430,6 +430,8 @@ sub parselicense($) { |
$license = "MIT/X11 (BSD like) $license"; |
} elsif ($licensetext =~ /Permission is hereby granted, free of charge, to any person obtaining a copy of this software and(\/or)? associated documentation files \(the (Software|Materials)\), to deal in the (Software|Materials)/) { |
$license = "MIT/X11 (BSD like) $license"; |
+ } elsif ($licensetext =~ /Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose/) { |
+ $license = "MIT/X11 (BSD like) $license"; |
} |
if ($licensetext =~ /Permission to use, copy, modify, and(\/or)? distribute this software for any purpose with or without fee is hereby granted, provided.*copyright notice.*permission notice.*all copies/) { |