Change 34445 by [EMAIL PROTECTED] on 2008/09/30 09:26:48
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.10/perl/MANIFEST#47 integrate
... //depot/maint-5.10/perl/ext/Storable/Storable.pm#2 integrate
... //depot/maint-5.10/perl/ext/Storable/hints/hpux.pl#1 branch
Differences ...
==== //depot/maint-5.10/perl/MANIFEST#47 (text) ====
Index: perl/MANIFEST
--- perl/MANIFEST#46~34428~ 2008-09-26 13:50:58.000000000 -0700
+++ perl/MANIFEST 2008-09-30 02:26:48.000000000 -0700
@@ -1055,6 +1055,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.10/perl/ext/Storable/Storable.pm#2 (text) ====
Index: perl/ext/Storable/Storable.pm
--- perl/ext/Storable/Storable.pm#1~32694~ 2007-12-22 01:23:09.000000000
-0800
+++ perl/ext/Storable/Storable.pm 2008-09-30 02:26:48.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.10/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 02:26:48.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.