diff -r cb59d6afeb61 -r 0cd2ee160ef5 openpkg/perl.patch --- a/openpkg/perl.patch Tue Jan 06 23:40:39 2009 +0100 +++ b/openpkg/perl.patch Tue Jan 06 23:42:49 2009 +0100 @@ -15,7 +15,7 @@ my $installman1dir = "$destdir$Config{installman1dir}"; my $man1ext = $Config{man1ext}; my $libperl = $Config{libperl}; -@@ -403,6 +405,8 @@ +@@ -372,6 +374,8 @@ mkpath($installarchlib, $verbose, 0777); mkpath($installsitelib, $verbose, 0777) if ($installsitelib); mkpath($installsitearch, $verbose, 0777) if ($installsitearch); @@ -38,7 +38,7 @@ Index: perl.c --- perl.c.orig 2006-08-15 14:37:41 +0200 +++ perl.c 2006-08-18 21:08:14 +0200 -@@ -4749,39 +4749,6 @@ +@@ -4753,39 +4753,6 @@ incpush(APPLLIB_EXP, TRUE, TRUE, TRUE, TRUE); #endif @@ -78,7 +78,7 @@ #ifdef SITEARCH_EXP /* sitearch is always relative to sitelib on Windows for * DLL-based path intuition to work correctly */ -@@ -4824,6 +4791,39 @@ +@@ -4828,6 +4795,39 @@ incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE, TRUE); #endif @@ -160,7 +160,7 @@ Index: perlio.c --- perlio.c.orig 2006-08-15 14:37:41 +0200 +++ perlio.c 2006-08-18 21:05:05 +0200 -@@ -461,7 +461,14 @@ +@@ -472,7 +472,14 @@ #include #endif #ifdef HAS_MMAP @@ -211,9 +211,9 @@ Index: Configure --- Configure.orig 2006-08-15 14:37:40 +0200 +++ Configure 2006-08-18 21:05:05 +0200 -@@ -7787,7 +7787,7 @@ - ;; - linux|irix*|gnu*) dflt='-shared' ;; +@@ -7871,7 +7871,7 @@ + ;; + linux|irix*|gnu*) dflt="-shared $optimize" ;; next) dflt='none' ;; - solaris) dflt='-G' ;; + solaris) dflt='-shared' ;; @@ -228,7 +228,7 @@ Index: sv.c --- sv.c.orig 2006-08-15 14:37:41 +0200 +++ sv.c 2006-08-18 21:05:05 +0200 -@@ -8595,7 +8595,10 @@ +@@ -8667,7 +8667,10 @@ if ( (width = expect_number(&q)) ) { if (*q == '$') { ++q; @@ -241,3 +241,19 @@ goto gotwidth; } +----------------------------------------------------------------------------- + +Corrections for Solaris 11: + +Index: perl.h +diff -Nau perl.h.orig perl.h +--- perl.h.orig 2007-12-18 11:47:08.000000000 +0100 ++++ perl.h 2009-01-06 15:28:45.843276063 +0100 +@@ -1393,6 +1393,7 @@ + */ + + #if defined(I_SYSMODE) && !defined(PERL_MICRO) ++#include + #include + #endif +