summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Coie <rac@gentoo.org>2003-11-08 22:53:57 +0000
committerRobert Coie <rac@gentoo.org>2003-11-08 22:53:57 +0000
commit13e6cbea4232b2dab201e4e22d42bab06af9768d (patch)
tree533575d931947f4970403e9abefaa2dd61f984c9 /dev-lang/perl/files
parentadd 5.8.2 (diff)
downloadhistorical-13e6cbea4232b2dab201e4e22d42bab06af9768d.tar.gz
historical-13e6cbea4232b2dab201e4e22d42bab06af9768d.tar.bz2
historical-13e6cbea4232b2dab201e4e22d42bab06af9768d.zip
add 5.8.2
Diffstat (limited to 'dev-lang/perl/files')
-rw-r--r--dev-lang/perl/files/perl-5.8.2-perldoc-emptydirs.patch10
-rw-r--r--dev-lang/perl/files/perl-5.8.2-prelink-lpthread.patch11
-rw-r--r--dev-lang/perl/files/perl-5.8.2-reorder-INC.patch85
3 files changed, 106 insertions, 0 deletions
diff --git a/dev-lang/perl/files/perl-5.8.2-perldoc-emptydirs.patch b/dev-lang/perl/files/perl-5.8.2-perldoc-emptydirs.patch
new file mode 100644
index 000000000000..650248c509e8
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.2-perldoc-emptydirs.patch
@@ -0,0 +1,10 @@
+--- lib/Pod/Perldoc.pm.orig 2003-10-22 13:02:15.000000000 -0700
++++ lib/Pod/Perldoc.pm 2003-10-22 13:02:36.000000000 -0700
+@@ -1513,6 +1513,7 @@
+ $self->{'target'} = (splitdir $s)[-1]; # XXX: why not use File::Basename?
+ for ($i=0; $i<@dirs; $i++) {
+ $dir = $dirs[$i];
++ next unless -d $dir;
+ ($dir = VMS::Filespec::unixpath($dir)) =~ s!/\z!! if IS_VMS;
+ if ( (! $self->opt_m && ( $ret = $self->check_file($dir,"$s.pod")))
+ or ( $ret = $self->check_file($dir,"$s.pm"))
diff --git a/dev-lang/perl/files/perl-5.8.2-prelink-lpthread.patch b/dev-lang/perl/files/perl-5.8.2-prelink-lpthread.patch
new file mode 100644
index 000000000000..d38497e0aebe
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.2-prelink-lpthread.patch
@@ -0,0 +1,11 @@
+--- hints/linux.sh.orig 2003-02-14 18:11:50.000000000 -0800
++++ hints/linux.sh 2003-02-14 18:12:01.000000000 -0800
+@@ -43,7 +43,7 @@
+ # 'kaffe' has a /usr/lib/libnet.so which is not at all relevent for perl.
+ set `echo X "$libswanted "| sed -e 's/ bsd / /' -e 's/ net / /'`
+ shift
+-libswanted="$*"
++libswanted="pthread $*"
+
+ # If you have glibc, then report the version for ./myconfig bug reporting.
+ # (Configure doesn't need to know the specific version since it just uses
diff --git a/dev-lang/perl/files/perl-5.8.2-reorder-INC.patch b/dev-lang/perl/files/perl-5.8.2-reorder-INC.patch
new file mode 100644
index 000000000000..c934b4135a13
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.2-reorder-INC.patch
@@ -0,0 +1,85 @@
+--- perl.c.orig 2003-07-10 22:09:00.000000000 -0700
++++ perl.c 2003-07-10 22:30:21.000000000 -0700
+@@ -3932,9 +3932,9 @@
+ incpush(APPLLIB_EXP, TRUE, TRUE, TRUE);
+ #endif
+
+-#ifdef ARCHLIB_EXP
+- incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
+-#endif
++ /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */
++ incpush("/etc/perl", FALSE, FALSE, TRUE);
++
+ #ifdef MACOS_TRADITIONAL
+ {
+ Stat_t tmpstatbuf;
+@@ -3961,8 +3961,6 @@
+ #endif
+ #if defined(WIN32)
+ incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
+-#else
+- incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
+ #endif
+
+ #ifdef SITEARCH_EXP
+@@ -4006,6 +4004,60 @@
+ incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE);
+ #endif
+
++ incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
++ incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
++
++ /* Non-versioned site directory for local modules and for
++ compatability with the previous packages' site dirs */
++
++ incpush("/usr/local/lib/site_perl", TRUE, FALSE, TRUE);
++
++#ifdef PERL_INC_VERSION_LIST
++{
++ struct stat s;
++
++ /* add small buffer in case old versions are longer than the current version */
++ char sitearch[sizeof(SITEARCH_EXP)+16] = SITEARCH_EXP;
++ char sitelib[sizeof(SITELIB_EXP)+16] = SITELIB_EXP;
++ char const *vers[] = { PERL_INC_VERSION_LIST };
++ char const **p;
++
++ char *arch_vers = strrchr(sitearch, '/');
++ char *lib_vers = strrchr(sitelib, '/');
++
++ if (arch_vers && isdigit(*++arch_vers))
++ *arch_vers = 0;
++ else
++ arch_vers = 0;
++
++ if (lib_vers && isdigit(*++lib_vers))
++ *lib_vers = 0;
++ else
++ lib_vers = 0;
++
++ /* there is some duplication here as incpush does something similar
++ internally, but required as sitearch is not a subdirectory of
++ sitelib */
++
++ for (p = vers; *p; p++)
++ {
++ if (arch_vers)
++ {
++ strcpy(arch_vers, *p);
++ if (PerlLIO_stat(sitearch, &s) >= 0 && S_ISDIR(s.st_mode))
++ incpush(sitearch, FALSE, FALSE, TRUE);
++ }
++
++ if (lib_vers)
++ {
++ strcpy(lib_vers, *p);
++ if (PerlLIO_stat(sitelib, &s) >= 0 && S_ISDIR(s.st_mode))
++ incpush(sitelib, FALSE, FALSE, TRUE);
++ }
++ }
++}
++#endif
++
+ #ifdef PERL_OTHERLIBDIRS
+ incpush(PERL_OTHERLIBDIRS, TRUE, TRUE, TRUE);
+ #endif