Hello community,

here is the log from the commit of package perl-ExtUtils-CppGuess for 
openSUSE:Factory checked in at 2019-09-05 12:34:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-CppGuess (Old)
 and      /work/SRC/openSUSE:Factory/.perl-ExtUtils-CppGuess.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ExtUtils-CppGuess"

Thu Sep  5 12:34:40 2019 rev:8 rq:727963 version:0.20

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-ExtUtils-CppGuess/perl-ExtUtils-CppGuess.changes
    2019-07-11 13:07:40.691015068 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-ExtUtils-CppGuess.new.7948/perl-ExtUtils-CppGuess.changes
  2019-09-05 12:34:42.051568822 +0200
@@ -1,0 +2,9 @@
+Mon Sep  2 08:03:51 UTC 2019 -  <[email protected]>
+
+- updated to 0.20
+   see /usr/share/doc/packages/perl-ExtUtils-CppGuess/Changes
+
+  0.20    Sat 31 Aug 22:20:32 BST 2019
+      - no link -lstdc++ if -static-libstdc++ - thanks @andygrundman
+
+-------------------------------------------------------------------

Old:
----
  ExtUtils-CppGuess-0.19.tar.gz

New:
----
  ExtUtils-CppGuess-0.20.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-ExtUtils-CppGuess.spec ++++++
--- /var/tmp/diff_new_pack.7ZBsix/_old  2019-09-05 12:34:42.575568719 +0200
+++ /var/tmp/diff_new_pack.7ZBsix/_new  2019-09-05 12:34:42.579568718 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-ExtUtils-CppGuess
-Version:        0.19
+Version:        0.20
 Release:        0
 %define cpan_name ExtUtils-CppGuess
 Summary:        Guess C++ compiler and flags

++++++ ExtUtils-CppGuess-0.19.tar.gz -> ExtUtils-CppGuess-0.20.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.19/Changes 
new/ExtUtils-CppGuess-0.20/Changes
--- old/ExtUtils-CppGuess-0.19/Changes  2019-04-01 08:09:52.000000000 +0200
+++ new/ExtUtils-CppGuess-0.20/Changes  2019-08-31 23:21:31.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Perl extension ExtUtils::CppGuess.
 
+0.20    Sat 31 Aug 22:20:32 BST 2019
+    - no link -lstdc++ if -static-libstdc++ - thanks @andygrundman
+
 0.19    Mon  1 Apr 07:08:46 BST 2019
     - support clang on Perl 5.14-16 with ExtUtils::ParseXS >= 3.04_01 (yes, 
really)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.19/META.json 
new/ExtUtils-CppGuess-0.20/META.json
--- old/ExtUtils-CppGuess-0.19/META.json        2019-04-01 08:10:16.000000000 
+0200
+++ new/ExtUtils-CppGuess-0.20/META.json        2019-08-31 23:23:37.000000000 
+0200
@@ -4,7 +4,7 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -64,6 +64,6 @@
          "web" : "https://github.com/tsee/extutils-cppguess";
       }
    },
-   "version" : "0.19",
+   "version" : "0.20",
    "x_serialization_backend" : "JSON::PP version 4.00"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.19/META.yml 
new/ExtUtils-CppGuess-0.20/META.yml
--- old/ExtUtils-CppGuess-0.19/META.yml 2019-04-01 08:10:16.000000000 +0200
+++ new/ExtUtils-CppGuess-0.20/META.yml 2019-08-31 23:23:37.000000000 +0200
@@ -15,7 +15,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -34,5 +34,5 @@
 resources:
   bugtracker: https://github.com/tsee/extutils-cppguess/issues
   repository: git://github.com/tsee/extutils-cppguess
-version: '0.19'
+version: '0.20'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.19/lib/ExtUtils/CppGuess.pm 
new/ExtUtils-CppGuess-0.20/lib/ExtUtils/CppGuess.pm
--- old/ExtUtils-CppGuess-0.19/lib/ExtUtils/CppGuess.pm 2019-04-01 
08:08:05.000000000 +0200
+++ new/ExtUtils-CppGuess-0.20/lib/ExtUtils/CppGuess.pm 2019-08-31 
23:21:56.000000000 +0200
@@ -172,7 +172,7 @@
 use File::Spec::Functions qw(catfile);
 use File::Temp qw(tempdir);
 
-our $VERSION = '0.19';
+our $VERSION = '0.20';
 
 sub new {
     my( $class, %args ) = @_;
@@ -255,8 +255,10 @@
     %guess = (
       compiler_command => 'g++',
       extra_cflags => '-xc++',
-      extra_lflags => '-lstdc++',
     );
+    # Don't use -lstdc++ if Perl was linked with -static-libstdc++ (ActivePerl 
5.18+ on Windows)
+    $guess{extra_lflags} = '-lstdc++'
+      unless ($self->_config->{ldflags} || '') =~ /static-libstdc\+\+/;
   } elsif ( $self->_cc_is_msvc( $c_compiler ) ) {
     %guess = (
       compiler_command => 'cl',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.19/t/002_icpp.t 
new/ExtUtils-CppGuess-0.20/t/002_icpp.t
--- old/ExtUtils-CppGuess-0.19/t/002_icpp.t     2019-03-30 17:01:53.000000000 
+0100
+++ new/ExtUtils-CppGuess-0.20/t/002_icpp.t     2019-08-31 23:14:46.000000000 
+0200
@@ -15,7 +15,7 @@
     },
   ],
   [
-    { os => 'MSWin32', cc => 'gcc', config => {ccflags => ''} },
+    { os => 'MSWin32', cc => 'gcc', config => {ccflags => '', ldflags => ''} },
     {
       is_sunstudio => 0,
       is_msvc => undef, is_gcc => 1, is_clang => 0,
@@ -24,6 +24,15 @@
     },
   ],
   [
+    { os => 'MSWin32', cc => 'gcc', config => {ccflags => '', ldflags => 
'static-libstdc++'} },
+    {
+      is_sunstudio => 0,
+      is_msvc => undef, is_gcc => 1, is_clang => 0,
+      compiler_command => 'g++ -xc++',
+      linker_flags => '',
+    },
+  ],
+  [
     { os => 'freebsd', cc => 'gcc', config => {ccflags => ''}, osvers => 9 },
     {
       is_sunstudio => 0,


Reply via email to