Author: schwern
Date: Thu Sep 18 18:47:09 2008
New Revision: 11823

Modified:
   Module-Build/trunk/   (props changed)
   Module-Build/trunk/t/lib/DistGen.pm

Log:
 [EMAIL PROTECTED]:  schwern | 2008-09-18 18:46:41 -0700
 5.6.2 is missing "const char *" in typemap which was causing xs.t to fail.
 So just write our own supplementry typemap (which is what you'd do in a
 portable XS module).
 
 And that gets 5.6.2 working.


Modified: Module-Build/trunk/t/lib/DistGen.pm
==============================================================================
--- Module-Build/trunk/t/lib/DistGen.pm (original)
+++ Module-Build/trunk/t/lib/DistGen.pm Thu Sep 18 18:47:09 2008
@@ -200,6 +200,11 @@
         RETVAL
       ---
 
+  # 5.6 is missing const char * in its typemap
+  $self->$add_unless('typemap', undent(<<"      ---"));
+      const char *              T_PV
+      ---
+
   $self->$add_unless('t/basic.t', undent(<<"    ---"));
     use Test::More tests => 2;
     use strict;

Reply via email to