From: Frédéric Buclin Date: Wed, 27 May 2015 15:18:58 +0000 (+0200) Subject: Bug 1124401: Explicitly depend on DateTime::TimeZone::Local::Win32 on Windows X-Git-Tag: release-5.1.1~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd263e882459f87cf68b555764869c6bd0a52119;p=thirdparty%2Fbugzilla.git Bug 1124401: Explicitly depend on DateTime::TimeZone::Local::Win32 on Windows r=dylan a=glob --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 2db36f89dc..bbf7d1037a 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -173,7 +173,8 @@ sub REQUIRED_MODULES { ); if (ON_WINDOWS) { - push(@modules, { + push(@modules, + { package => 'Win32', module => 'Win32', # 0.35 fixes a memory leak in GetOSVersion, which we use. @@ -184,7 +185,14 @@ sub REQUIRED_MODULES { module => 'Win32::API', # 0.55 fixes a bug with char* that might affect Bugzilla::RNG. version => '0.55', - }); + }, + { + package => 'DateTime-TimeZone-Local-Win32', + module => 'DateTime::TimeZone::Local::Win32', + # We require DateTime::TimeZone 1.64, so this version must match. + version => '1.64', + } + ); } my $extra_modules = _get_extension_requirements('REQUIRED_MODULES');