Change 34450 by [EMAIL PROTECTED] on 2008/09/30 17:23:16
Integrate:
[ 34445]
Integrate:
[ 34441]
Storable and HP-UX Optimizer don't like eachother on 5.8.x
Dropping optimization level for HP C-ANSI-C to +O1 won't
do too much harm to all other builds, so keep it simple
[ 34442]
Version up for adding hints/hpux.pl
Affected files ...
... //depot/maint-5.8/perl/MANIFEST#445 integrate
... //depot/maint-5.8/perl/ext/Storable/Storable.pm#16 integrate
... //depot/maint-5.8/perl/ext/Storable/hints/hpux.pl#1 branch
Differences ...
==== //depot/maint-5.8/perl/MANIFEST#445 (text) ====
Index: perl/MANIFEST
--- perl/MANIFEST#444~34439~ 2008-09-29 00:38:35.000000000 -0700
+++ perl/MANIFEST 2008-09-30 10:23:16.000000000 -0700
@@ -878,6 +878,7 @@
ext/Storable/ChangeLog Storable extension
ext/Storable/hints/gnukfreebsd.pl Hint for Storable for named architecture
ext/Storable/hints/gnuknetbsd.pl Hint for Storable for named architecture
+ext/Storable/hints/hpux.pl Hint for Storable for named architecture
ext/Storable/hints/linux.pl Hint for Storable for named architecture
ext/Storable/Makefile.PL Storable extension
ext/Storable/MANIFEST Storable extension
==== //depot/maint-5.8/perl/ext/Storable/Storable.pm#16 (text) ====
Index: perl/ext/Storable/Storable.pm
--- perl/ext/Storable/Storable.pm#15~32449~ 2007-11-22 09:31:11.000000000
-0800
+++ perl/ext/Storable/Storable.pm 2008-09-30 10:23:16.000000000 -0700
@@ -23,7 +23,7 @@
use FileHandle;
use vars qw($canonical $forgive_me $VERSION);
-$VERSION = '2.18';
+$VERSION = '2.19';
*AUTOLOAD = \&AutoLoader::AUTOLOAD; # Grrr...
#
==== //depot/maint-5.8/perl/ext/Storable/hints/hpux.pl#1 (text) ====
Index: perl/ext/Storable/hints/hpux.pl
--- /dev/null 2008-09-17 12:36:34.330355001 -0700
+++ perl/ext/Storable/hints/hpux.pl 2008-09-30 10:23:16.000000000 -0700
@@ -0,0 +1,10 @@
+# HP C-ANSI-C has problems in the optimizer for 5.8.x (not for 5.11.x)
+# So drop to -O1 for Storable
+
+use Config;
+
+unless ($Config{gccversion}) {
+ my $optimize = $Config{optimize};
+ $optimize =~ s/(^| )[-+]O[2-9]( |$)/$1+O1$2/ and
+ $self->{OPTIMIZE} = $optimize;
+ }
End of Patch.