[arch-commits] Commit in perl/repos (10 files)
Date: Saturday, February 2, 2013 @ 15:23:42 Author: bluewind Revision: 176914 archrelease: copy trunk to testing-x86_64 Added: perl/repos/testing-x86_64/ perl/repos/testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 176913, perl/trunk/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) perl/repos/testing-x86_64/PKGBUILD (from rev 176913, perl/trunk/PKGBUILD) perl/repos/testing-x86_64/cgi-cr-escaping.diff (from rev 176913, perl/trunk/cgi-cr-escaping.diff) perl/repos/testing-x86_64/digest_eval_hole.diff (from rev 176913, perl/trunk/digest_eval_hole.diff) perl/repos/testing-x86_64/fix-h2ph-and-tests.patch (from rev 176913, perl/trunk/fix-h2ph-and-tests.patch) perl/repos/testing-x86_64/perl.install (from rev 176913, perl/trunk/perl.install) perl/repos/testing-x86_64/perlbin.csh (from rev 176913, perl/trunk/perlbin.csh) perl/repos/testing-x86_64/perlbin.sh (from rev 176913, perl/trunk/perlbin.sh) perl/repos/testing-x86_64/provides.pl (from rev 176913, perl/trunk/provides.pl) -+ 0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch | 83 ++ PKGBUILD| 120 cgi-cr-escaping.diff| 75 ++ digest_eval_hole.diff | 61 ++ fix-h2ph-and-tests.patch| 104 +++ perl.install| 10 perlbin.csh | 15 perlbin.sh | 18 provides.pl | 299 ++ 9 files changed, 785 insertions(+) Copied: perl/repos/testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 176913, perl/trunk/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) === --- testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (rev 0) +++ testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch 2013-02-02 14:23:42 UTC (rev 176914) @@ -0,0 +1,83 @@ +From bb249b0b26c2e79a6f55355ef94889070f07fd21 Mon Sep 17 00:00:00 2001 +From: Niko Tyni +Date: Thu, 28 Apr 2011 09:18:54 +0300 +Subject: [PATCH] Append CFLAGS and LDFLAGS to their Config.pm counterparts in + EU::CBuilder + +Since ExtUtils::CBuilder 0.27_04 (bleadperl commit 06e8058f27e4), +CFLAGS and LDFLAGS from the environment have overridden the Config.pm +ccflags and ldflags settings. This can cause binary incompatibilities +between the core Perl and extensions built with EU::CBuilder. + +Append to the Config.pm values rather than overriding them. +--- + .../lib/ExtUtils/CBuilder/Base.pm |6 +++- + dist/ExtUtils-CBuilder/t/04-base.t | 25 +++- + 2 files changed, 28 insertions(+), 3 deletions(-) + +diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +index b572312..2255c51 100644 +--- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +@@ -40,11 +40,13 @@ sub new { + $self->{config}{$k} = $v unless exists $self->{config}{$k}; + } + $self->{config}{cc} = $ENV{CC} if defined $ENV{CC}; +- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS}; ++ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS}) ++ if defined $ENV{CFLAGS}; + $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX}; + $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS}; + $self->{config}{ld} = $ENV{LD} if defined $ENV{LD}; +- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS}; ++ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS}) ++ if defined $ENV{LDFLAGS}; + + unless ( exists $self->{config}{cxx} ) { + my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/); +diff --git a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +index c3bf6b5..1bb15aa 100644 +--- a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +@@ -1,7 +1,7 @@ + #! perl -w + + use strict; +-use Test::More tests => 50; ++use Test::More tests => 64; + use Config; + use Cwd; + use File::Path qw( mkpath ); +@@ -326,6 +326,29 @@ is_deeply( $mksymlists_args, + "_prepare_mksymlists_args(): got expected arguments for Mksymlists", + ); + ++my %testvars = ( ++CFLAGS => 'ccflags', ++LDFLAGS => 'ldflags', ++); ++ ++while (my ($VAR, $var) = each %testvars) { ++local $ENV{$VAR}; ++$base = ExtUtils::CBuilder::Base->ne
[arch-commits] Commit in perl/repos (10 files)
Date: Monday, January 9, 2012 @ 13:52:56 Author: stephane Revision: 146353 db-move: moved perl from [staging] to [testing] (x86_64) Added: perl/repos/testing-x86_64/ perl/repos/testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 146321, perl/repos/staging-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) perl/repos/testing-x86_64/ChangeLog (from rev 146321, perl/repos/staging-x86_64/ChangeLog) perl/repos/testing-x86_64/PKGBUILD (from rev 146321, perl/repos/staging-x86_64/PKGBUILD) perl/repos/testing-x86_64/fix-h2ph-and-tests.patch (from rev 146321, perl/repos/staging-x86_64/fix-h2ph-and-tests.patch) perl/repos/testing-x86_64/perl.install (from rev 146321, perl/repos/staging-x86_64/perl.install) perl/repos/testing-x86_64/perlbin.csh (from rev 146321, perl/repos/staging-x86_64/perlbin.csh) perl/repos/testing-x86_64/perlbin.sh (from rev 146321, perl/repos/staging-x86_64/perlbin.sh) perl/repos/testing-x86_64/provides.pl (from rev 146321, perl/repos/staging-x86_64/provides.pl) Deleted: perl/repos/staging-x86_64/ -+ 0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch | 83 ++ ChangeLog | 66 ++ PKGBUILD| 117 fix-h2ph-and-tests.patch| 104 +++ perl.install| 10 perlbin.csh | 15 perlbin.sh | 18 provides.pl | 286 ++ 8 files changed, 699 insertions(+) Copied: perl/repos/testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 146321, perl/repos/staging-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) === --- testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (rev 0) +++ testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch 2012-01-09 18:52:56 UTC (rev 146353) @@ -0,0 +1,83 @@ +From bb249b0b26c2e79a6f55355ef94889070f07fd21 Mon Sep 17 00:00:00 2001 +From: Niko Tyni +Date: Thu, 28 Apr 2011 09:18:54 +0300 +Subject: [PATCH] Append CFLAGS and LDFLAGS to their Config.pm counterparts in + EU::CBuilder + +Since ExtUtils::CBuilder 0.27_04 (bleadperl commit 06e8058f27e4), +CFLAGS and LDFLAGS from the environment have overridden the Config.pm +ccflags and ldflags settings. This can cause binary incompatibilities +between the core Perl and extensions built with EU::CBuilder. + +Append to the Config.pm values rather than overriding them. +--- + .../lib/ExtUtils/CBuilder/Base.pm |6 +++- + dist/ExtUtils-CBuilder/t/04-base.t | 25 +++- + 2 files changed, 28 insertions(+), 3 deletions(-) + +diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +index b572312..2255c51 100644 +--- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +@@ -40,11 +40,13 @@ sub new { + $self->{config}{$k} = $v unless exists $self->{config}{$k}; + } + $self->{config}{cc} = $ENV{CC} if defined $ENV{CC}; +- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS}; ++ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS}) ++ if defined $ENV{CFLAGS}; + $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX}; + $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS}; + $self->{config}{ld} = $ENV{LD} if defined $ENV{LD}; +- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS}; ++ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS}) ++ if defined $ENV{LDFLAGS}; + + unless ( exists $self->{config}{cxx} ) { + my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/); +diff --git a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +index c3bf6b5..1bb15aa 100644 +--- a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +@@ -1,7 +1,7 @@ + #! perl -w + + use strict; +-use Test::More tests => 50; ++use Test::More tests => 64; + use Config; + use Cwd; + use File::Path qw( mkpath ); +@@ -326,6 +326,29 @@ is_deeply( $mksymlists_args, + "_prepare_mksymlists_args(): got expected arguments for Mksymlists", + ); + ++my %testvars = ( ++CFLAGS => 'ccflags', ++LDFLAGS => 'ldflags', ++); ++ ++while (my ($VAR, $var) = each %testvars) { ++local $ENV{$VAR}; ++$base = ExtUtils::CBuilder::Base->new( quiet => 1 ); +
[arch-commits] Commit in perl/repos (10 files)
Date: Monday, January 9, 2012 @ 13:52:55 Author: stephane Revision: 146352 db-move: moved perl from [staging] to [testing] (i686) Added: perl/repos/testing-i686/ perl/repos/testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 146321, perl/repos/staging-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) perl/repos/testing-i686/ChangeLog (from rev 146321, perl/repos/staging-i686/ChangeLog) perl/repos/testing-i686/PKGBUILD (from rev 146321, perl/repos/staging-i686/PKGBUILD) perl/repos/testing-i686/fix-h2ph-and-tests.patch (from rev 146321, perl/repos/staging-i686/fix-h2ph-and-tests.patch) perl/repos/testing-i686/perl.install (from rev 146321, perl/repos/staging-i686/perl.install) perl/repos/testing-i686/perlbin.csh (from rev 146321, perl/repos/staging-i686/perlbin.csh) perl/repos/testing-i686/perlbin.sh (from rev 146321, perl/repos/staging-i686/perlbin.sh) perl/repos/testing-i686/provides.pl (from rev 146321, perl/repos/staging-i686/provides.pl) Deleted: perl/repos/staging-i686/ -+ 0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch | 83 ++ ChangeLog | 66 ++ PKGBUILD| 117 fix-h2ph-and-tests.patch| 104 +++ perl.install| 10 perlbin.csh | 15 perlbin.sh | 18 provides.pl | 286 ++ 8 files changed, 699 insertions(+) Copied: perl/repos/testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 146321, perl/repos/staging-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) === --- testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (rev 0) +++ testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch 2012-01-09 18:52:55 UTC (rev 146352) @@ -0,0 +1,83 @@ +From bb249b0b26c2e79a6f55355ef94889070f07fd21 Mon Sep 17 00:00:00 2001 +From: Niko Tyni +Date: Thu, 28 Apr 2011 09:18:54 +0300 +Subject: [PATCH] Append CFLAGS and LDFLAGS to their Config.pm counterparts in + EU::CBuilder + +Since ExtUtils::CBuilder 0.27_04 (bleadperl commit 06e8058f27e4), +CFLAGS and LDFLAGS from the environment have overridden the Config.pm +ccflags and ldflags settings. This can cause binary incompatibilities +between the core Perl and extensions built with EU::CBuilder. + +Append to the Config.pm values rather than overriding them. +--- + .../lib/ExtUtils/CBuilder/Base.pm |6 +++- + dist/ExtUtils-CBuilder/t/04-base.t | 25 +++- + 2 files changed, 28 insertions(+), 3 deletions(-) + +diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +index b572312..2255c51 100644 +--- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +@@ -40,11 +40,13 @@ sub new { + $self->{config}{$k} = $v unless exists $self->{config}{$k}; + } + $self->{config}{cc} = $ENV{CC} if defined $ENV{CC}; +- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS}; ++ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS}) ++ if defined $ENV{CFLAGS}; + $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX}; + $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS}; + $self->{config}{ld} = $ENV{LD} if defined $ENV{LD}; +- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS}; ++ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS}) ++ if defined $ENV{LDFLAGS}; + + unless ( exists $self->{config}{cxx} ) { + my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/); +diff --git a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +index c3bf6b5..1bb15aa 100644 +--- a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +@@ -1,7 +1,7 @@ + #! perl -w + + use strict; +-use Test::More tests => 50; ++use Test::More tests => 64; + use Config; + use Cwd; + use File::Path qw( mkpath ); +@@ -326,6 +326,29 @@ is_deeply( $mksymlists_args, + "_prepare_mksymlists_args(): got expected arguments for Mksymlists", + ); + ++my %testvars = ( ++CFLAGS => 'ccflags', ++LDFLAGS => 'ldflags', ++); ++ ++while (my ($VAR, $var) = each %testvars) { ++local $ENV{$VAR}; ++$base = ExtUtils::CBuilder::Base->new( quiet => 1 ); ++ok( $base, "ExtUtils::CBuilder::Base-
[arch-commits] Commit in perl/repos (10 files)
Date: Thursday, November 24, 2011 @ 12:03:10 Author: stephane Revision: 143472 db-move: moved perl from [staging] to [testing] (x86_64) Added: perl/repos/testing-x86_64/ perl/repos/testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 143456, perl/repos/staging-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) perl/repos/testing-x86_64/ChangeLog (from rev 143456, perl/repos/staging-x86_64/ChangeLog) perl/repos/testing-x86_64/PKGBUILD (from rev 143456, perl/repos/staging-x86_64/PKGBUILD) perl/repos/testing-x86_64/fix-h2ph-and-tests.patch (from rev 143456, perl/repos/staging-x86_64/fix-h2ph-and-tests.patch) perl/repos/testing-x86_64/perl.install (from rev 143456, perl/repos/staging-x86_64/perl.install) perl/repos/testing-x86_64/perlbin.csh (from rev 143456, perl/repos/staging-x86_64/perlbin.csh) perl/repos/testing-x86_64/perlbin.sh (from rev 143456, perl/repos/staging-x86_64/perlbin.sh) perl/repos/testing-x86_64/provides.pl (from rev 143456, perl/repos/staging-x86_64/provides.pl) Deleted: perl/repos/staging-x86_64/ -+ 0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch | 83 ++ ChangeLog | 66 ++ PKGBUILD| 109 +++ fix-h2ph-and-tests.patch| 104 +++ perl.install| 10 perlbin.csh | 15 perlbin.sh | 18 provides.pl | 286 ++ 8 files changed, 691 insertions(+) Copied: perl/repos/testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 143456, perl/repos/staging-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) === --- testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (rev 0) +++ testing-x86_64/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch 2011-11-24 17:03:10 UTC (rev 143472) @@ -0,0 +1,83 @@ +From bb249b0b26c2e79a6f55355ef94889070f07fd21 Mon Sep 17 00:00:00 2001 +From: Niko Tyni +Date: Thu, 28 Apr 2011 09:18:54 +0300 +Subject: [PATCH] Append CFLAGS and LDFLAGS to their Config.pm counterparts in + EU::CBuilder + +Since ExtUtils::CBuilder 0.27_04 (bleadperl commit 06e8058f27e4), +CFLAGS and LDFLAGS from the environment have overridden the Config.pm +ccflags and ldflags settings. This can cause binary incompatibilities +between the core Perl and extensions built with EU::CBuilder. + +Append to the Config.pm values rather than overriding them. +--- + .../lib/ExtUtils/CBuilder/Base.pm |6 +++- + dist/ExtUtils-CBuilder/t/04-base.t | 25 +++- + 2 files changed, 28 insertions(+), 3 deletions(-) + +diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +index b572312..2255c51 100644 +--- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +@@ -40,11 +40,13 @@ sub new { + $self->{config}{$k} = $v unless exists $self->{config}{$k}; + } + $self->{config}{cc} = $ENV{CC} if defined $ENV{CC}; +- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS}; ++ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS}) ++ if defined $ENV{CFLAGS}; + $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX}; + $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS}; + $self->{config}{ld} = $ENV{LD} if defined $ENV{LD}; +- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS}; ++ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS}) ++ if defined $ENV{LDFLAGS}; + + unless ( exists $self->{config}{cxx} ) { + my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/); +diff --git a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +index c3bf6b5..1bb15aa 100644 +--- a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +@@ -1,7 +1,7 @@ + #! perl -w + + use strict; +-use Test::More tests => 50; ++use Test::More tests => 64; + use Config; + use Cwd; + use File::Path qw( mkpath ); +@@ -326,6 +326,29 @@ is_deeply( $mksymlists_args, + "_prepare_mksymlists_args(): got expected arguments for Mksymlists", + ); + ++my %testvars = ( ++CFLAGS => 'ccflags', ++LDFLAGS => 'ldflags', ++); ++ ++while (my ($VAR, $var) = each %testvars) { ++local $ENV{$VAR}; ++$base = ExtUtils::CBuilder::Base->new( quiet => 1 )
[arch-commits] Commit in perl/repos (10 files)
Date: Thursday, November 24, 2011 @ 12:03:07 Author: stephane Revision: 143471 db-move: moved perl from [staging] to [testing] (i686) Added: perl/repos/testing-i686/ perl/repos/testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 143456, perl/repos/staging-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) perl/repos/testing-i686/ChangeLog (from rev 143456, perl/repos/staging-i686/ChangeLog) perl/repos/testing-i686/PKGBUILD (from rev 143456, perl/repos/staging-i686/PKGBUILD) perl/repos/testing-i686/fix-h2ph-and-tests.patch (from rev 143456, perl/repos/staging-i686/fix-h2ph-and-tests.patch) perl/repos/testing-i686/perl.install (from rev 143456, perl/repos/staging-i686/perl.install) perl/repos/testing-i686/perlbin.csh (from rev 143456, perl/repos/staging-i686/perlbin.csh) perl/repos/testing-i686/perlbin.sh (from rev 143456, perl/repos/staging-i686/perlbin.sh) perl/repos/testing-i686/provides.pl (from rev 143456, perl/repos/staging-i686/provides.pl) Deleted: perl/repos/staging-i686/ -+ 0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch | 83 ++ ChangeLog | 66 ++ PKGBUILD| 109 +++ fix-h2ph-and-tests.patch| 104 +++ perl.install| 10 perlbin.csh | 15 perlbin.sh | 18 provides.pl | 286 ++ 8 files changed, 691 insertions(+) Copied: perl/repos/testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (from rev 143456, perl/repos/staging-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) === --- testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch (rev 0) +++ testing-i686/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch 2011-11-24 17:03:07 UTC (rev 143471) @@ -0,0 +1,83 @@ +From bb249b0b26c2e79a6f55355ef94889070f07fd21 Mon Sep 17 00:00:00 2001 +From: Niko Tyni +Date: Thu, 28 Apr 2011 09:18:54 +0300 +Subject: [PATCH] Append CFLAGS and LDFLAGS to their Config.pm counterparts in + EU::CBuilder + +Since ExtUtils::CBuilder 0.27_04 (bleadperl commit 06e8058f27e4), +CFLAGS and LDFLAGS from the environment have overridden the Config.pm +ccflags and ldflags settings. This can cause binary incompatibilities +between the core Perl and extensions built with EU::CBuilder. + +Append to the Config.pm values rather than overriding them. +--- + .../lib/ExtUtils/CBuilder/Base.pm |6 +++- + dist/ExtUtils-CBuilder/t/04-base.t | 25 +++- + 2 files changed, 28 insertions(+), 3 deletions(-) + +diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +index b572312..2255c51 100644 +--- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +@@ -40,11 +40,13 @@ sub new { + $self->{config}{$k} = $v unless exists $self->{config}{$k}; + } + $self->{config}{cc} = $ENV{CC} if defined $ENV{CC}; +- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS}; ++ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS}) ++ if defined $ENV{CFLAGS}; + $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX}; + $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS}; + $self->{config}{ld} = $ENV{LD} if defined $ENV{LD}; +- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS}; ++ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS}) ++ if defined $ENV{LDFLAGS}; + + unless ( exists $self->{config}{cxx} ) { + my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/); +diff --git a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +index c3bf6b5..1bb15aa 100644 +--- a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t +@@ -1,7 +1,7 @@ + #! perl -w + + use strict; +-use Test::More tests => 50; ++use Test::More tests => 64; + use Config; + use Cwd; + use File::Path qw( mkpath ); +@@ -326,6 +326,29 @@ is_deeply( $mksymlists_args, + "_prepare_mksymlists_args(): got expected arguments for Mksymlists", + ); + ++my %testvars = ( ++CFLAGS => 'ccflags', ++LDFLAGS => 'ldflags', ++); ++ ++while (my ($VAR, $var) = each %testvars) { ++local $ENV{$VAR}; ++$base = ExtUtils::CBuilder::Base->new( quiet => 1 ); ++ok( $base, "ExtUtils::CBuilder::Ba