1.1 --- a/openpkg/perl.patch Tue Jan 06 23:40:39 2009 +0100 1.2 +++ b/openpkg/perl.patch Tue Jan 06 23:42:49 2009 +0100 1.3 @@ -15,7 +15,7 @@ 1.4 my $installman1dir = "$destdir$Config{installman1dir}"; 1.5 my $man1ext = $Config{man1ext}; 1.6 my $libperl = $Config{libperl}; 1.7 -@@ -403,6 +405,8 @@ 1.8 +@@ -372,6 +374,8 @@ 1.9 mkpath($installarchlib, $verbose, 0777); 1.10 mkpath($installsitelib, $verbose, 0777) if ($installsitelib); 1.11 mkpath($installsitearch, $verbose, 0777) if ($installsitearch); 1.12 @@ -38,7 +38,7 @@ 1.13 Index: perl.c 1.14 --- perl.c.orig 2006-08-15 14:37:41 +0200 1.15 +++ perl.c 2006-08-18 21:08:14 +0200 1.16 -@@ -4749,39 +4749,6 @@ 1.17 +@@ -4753,39 +4753,6 @@ 1.18 incpush(APPLLIB_EXP, TRUE, TRUE, TRUE, TRUE); 1.19 #endif 1.20 1.21 @@ -78,7 +78,7 @@ 1.22 #ifdef SITEARCH_EXP 1.23 /* sitearch is always relative to sitelib on Windows for 1.24 * DLL-based path intuition to work correctly */ 1.25 -@@ -4824,6 +4791,39 @@ 1.26 +@@ -4828,6 +4795,39 @@ 1.27 incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE, TRUE); 1.28 #endif 1.29 1.30 @@ -160,7 +160,7 @@ 1.31 Index: perlio.c 1.32 --- perlio.c.orig 2006-08-15 14:37:41 +0200 1.33 +++ perlio.c 2006-08-18 21:05:05 +0200 1.34 -@@ -461,7 +461,14 @@ 1.35 +@@ -472,7 +472,14 @@ 1.36 #include <unistd.h> 1.37 #endif 1.38 #ifdef HAS_MMAP 1.39 @@ -211,9 +211,9 @@ 1.40 Index: Configure 1.41 --- Configure.orig 2006-08-15 14:37:40 +0200 1.42 +++ Configure 2006-08-18 21:05:05 +0200 1.43 -@@ -7787,7 +7787,7 @@ 1.44 - ;; 1.45 - linux|irix*|gnu*) dflt='-shared' ;; 1.46 +@@ -7871,7 +7871,7 @@ 1.47 + ;; 1.48 + linux|irix*|gnu*) dflt="-shared $optimize" ;; 1.49 next) dflt='none' ;; 1.50 - solaris) dflt='-G' ;; 1.51 + solaris) dflt='-shared' ;; 1.52 @@ -228,7 +228,7 @@ 1.53 Index: sv.c 1.54 --- sv.c.orig 2006-08-15 14:37:41 +0200 1.55 +++ sv.c 2006-08-18 21:05:05 +0200 1.56 -@@ -8595,7 +8595,10 @@ 1.57 +@@ -8667,7 +8667,10 @@ 1.58 if ( (width = expect_number(&q)) ) { 1.59 if (*q == '$') { 1.60 ++q; 1.61 @@ -241,3 +241,19 @@ 1.62 goto gotwidth; 1.63 } 1.64 1.65 +----------------------------------------------------------------------------- 1.66 + 1.67 +Corrections for Solaris 11: 1.68 + 1.69 +Index: perl.h 1.70 +diff -Nau perl.h.orig perl.h 1.71 +--- perl.h.orig 2007-12-18 11:47:08.000000000 +0100 1.72 ++++ perl.h 2009-01-06 15:28:45.843276063 +0100 1.73 +@@ -1393,6 +1393,7 @@ 1.74 + */ 1.75 + 1.76 + #if defined(I_SYSMODE) && !defined(PERL_MICRO) 1.77 ++#include <sys/vnode.h> 1.78 + #include <sys/mode.h> 1.79 + #endif 1.80 +