r62704 - in /branches/upstream/libmodule-install-xsutil-perl/current: Changes META.yml lib/Module/Install/XSUtil.pm

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Mon Sep 20 02:29:14 UTC 2010


Author: angelabad-guest
Date: Mon Sep 20 02:28:55 2010
New Revision: 62704

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=62704
Log:
[svn-upgrade] new version libmodule-install-xsutil-perl (0.33)

Modified:
    branches/upstream/libmodule-install-xsutil-perl/current/Changes
    branches/upstream/libmodule-install-xsutil-perl/current/META.yml
    branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm

Modified: branches/upstream/libmodule-install-xsutil-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/Changes?rev=62704&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/Changes (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/Changes Mon Sep 20 02:28:55 2010
@@ -1,4 +1,7 @@
 Revision history for Perl extension Module::Install::XSUtil
+
+0.33 Sun Sep 19 22:15:10 2010
+    - Disable -Wdeclaration-after-statement by requires_c99()
 
 0.32 Mon Sep 13 14:18:33 2010
     - Don't clean xshelper.h by default.

Modified: branches/upstream/libmodule-install-xsutil-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/META.yml?rev=62704&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/META.yml (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/META.yml Mon Sep 20 02:28:55 2010
@@ -31,4 +31,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://github.com/gfx/Perl-Module-Install-XSUtil.git
-version: 0.32
+version: 0.33

Modified: branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm?rev=62704&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm Mon Sep 20 02:28:55 2010
@@ -2,7 +2,7 @@
 
 use 5.005_03;
 
-$VERSION = '0.32';
+$VERSION = '0.33';
 
 use Module::Install::Base;
 @ISA     = qw(Module::Install::Base);
@@ -29,6 +29,9 @@
 );
 
 my %ToInstall;
+
+my $UseC99       = 0;
+my $UseCplusplus = 0;
 
 sub _verbose{
     print STDERR q{# }, @_, "\n";
@@ -179,10 +182,12 @@
 
         my $gccversion = _gccversion();
         if($gccversion >= 4.0){
-            # Note: MSVC++ doesn't support C99, so -Wdeclaration-after-statement helps
+            # Note: MSVC++ doesn't support C99,
+            # so -Wdeclaration-after-statement helps
             # ensure C89 specs.
-            $self->cc_append_to_ccflags(qw(-Wextra -Wdeclaration-after-statement));
-            if($gccversion >= 4.1) {
+            $self->cc_append_to_ccflags(qw(-Wdeclaration-after-statement));
+            $self->cc_append_to_ccflags(qw(-Wextra));
+            if($gccversion >= 4.1 && !$UseCplusplus) {
                 $self->cc_append_to_ccflags(qw(-Wc++-compat));
             }
         }
@@ -237,7 +242,7 @@
         exit;
     }
     $self->_xs_initialize();
-
+    $UseC99 = 1;
     return;
 }
 
@@ -765,7 +770,7 @@
 
 =head1 VERSION
 
-This document describes Module::Install::XSUtil version 0.32.
+This document describes Module::Install::XSUtil version 0.33.
 
 =head1 SYNOPSIS
 




More information about the Pkg-perl-cvs-commits mailing list