Browse Source

Require some recent versions

Alessandro Ranellucci 11 years ago
parent
commit
f62896a77a
2 changed files with 7 additions and 5 deletions
  1. 6 4
      xs/Build.PL
  2. 1 1
      xs/xsp/typemap.xspt

+ 6 - 4
xs/Build.PL

@@ -9,15 +9,17 @@ my $build = Module::Build::WithXSpp->new(
     module_name     => 'Slic3r::XS',
     dist_abstract   => 'XS code for Slic3r',
     build_requires => {qw(
-        ExtUtils::Typemaps::Default 0.05
-        ExtUtils::XSpp              0.16
+        ExtUtils::ParseXS           3.18
+        ExtUtils::Typemap           1.00
+        ExtUtils::Typemaps::Default 1.03
+        ExtUtils::XSpp              0.17
         Module::Build               0.3601
         Test::More                  0
     )},
     configure_requires => {qw(
         ExtUtils::CppGuess          0.07
         Module::Build               0.38
-        Module::Build::WithXSpp     0.10
+        Module::Build::WithXSpp     0.13
     )},
     
     # HAS_BOOL         : stops Perl/lib/CORE/handy.h from doing "#  define bool char" for MSVC
@@ -25,7 +27,7 @@ my $build = Module::Build::WithXSpp->new(
     
     # Provides extra C typemaps that are auto-merged
     extra_typemap_modules => {
-        'ExtUtils::Typemaps::Default' => '0.05',
+        'ExtUtils::Typemaps::Default' => '1.03',
     },
     
     # for MSVC builds

+ 1 - 1
xs/xsp/typemap.xspt

@@ -1,2 +1,2 @@
 %typemap{std::string};
-%typemap{std::vector< unsigned int >*};
+%typemap{std::vector<unsigned int>*};