Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-01-18 18:52:55 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-01-18 18:52:55 +0300
commit3648bbd6d4060c71500a241cb7214aab178202a8 (patch)
tree275a1f211a22e7cce016331009c8ff2a73c74beb /Build.PL
parent90afbc8bd929910366ab37c7ac2ac74be404060a (diff)
Require an up-to-date Win32::API version because older ones are not thread-safe and cause random segfaults. #2517
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL11
1 files changed, 8 insertions, 3 deletions
diff --git a/Build.PL b/Build.PL
index 38b471bb7..69d1af618 100644
--- a/Build.PL
+++ b/Build.PL
@@ -26,8 +26,6 @@ my %prereqs = qw(
);
my %recommends = qw(
Class::XSAccessor 0
- LWP::UserAgent 0
- Net::Bonjour 0
XML::SAX::ExpatXS 0
Test::Harness 0
);
@@ -39,12 +37,19 @@ if ($gui) {
%prereqs = qw(
Class::Accessor 0
Wx 0.9918
+ Socket 2.016
);
%recommends = qw(
Growl::GNTP 0.15
Wx::GLCanvas 0
OpenGL 0
+ LWP::UserAgent 0
+ Net::Bonjour 0
);
+ if ($^O eq 'MSWin32') {
+ # we need an up-to-date Win32::API because older aren't thread-safe (GH #2517)
+ $prereqs{'Win32::API'} = 0.79;
+ }
} elsif ($xs_only) {
%prereqs = %recommends = ();
}
@@ -111,7 +116,7 @@ EOF
foreach my $module (sort keys %modules) {
my $version = $modules{$module};
my @cmd = ($cpanm, @cpanm_args);
- push @cmd, '-f', if $module eq 'OpenGL'; # temporary workaround for upstream bug in test
+ push @cmd, '--notest', if $module eq 'OpenGL'; # temporary workaround for upstream bug in test
push @cmd, "$module~$version";
if ($module eq 'XML::SAX::ExpatXS' && $^O eq 'MSWin32') {
my $mingw = 'C:\dev\CitrusPerl\mingw64';