add patch to fix perl -I adding versioned subdirs

This commit is contained in:
cturner 2004-10-01 16:42:25 +00:00
parent 2d1ac7b139
commit e5063204cc
2 changed files with 14 additions and 1 deletions

11
perl-5.8.5-dashI.patch Normal file
View File

@ -0,0 +1,11 @@
--- perl-5.8.5/perl.c.dashI 2004-10-01 12:40:40.323519280 -0400
+++ perl-5.8.5/perl.c 2004-10-01 12:40:46.159626512 -0400
@@ -1421,7 +1421,7 @@
char *p;
STRLEN len = strlen(s);
p = savepvn(s, len);
- incpush(p, TRUE, TRUE, FALSE);
+ incpush(p, FALSE, FALSE, FALSE);
sv_catpvn(sv, "-I", 2);
sv_catpvn(sv, p, len);
sv_catpvn(sv, " ", 1);

View File

@ -5,7 +5,7 @@
%define multilib_64_archs x86_64 s390x ppc64 sparc64 %define multilib_64_archs x86_64 s390x ppc64 sparc64
%define perlver 5.8.5 %define perlver 5.8.5
%define perlrel 5 %define perlrel 6
%define perlepoch 3 %define perlepoch 3
Provides: perl(:WITH_PERLIO) Provides: perl(:WITH_PERLIO)
@ -57,6 +57,7 @@ Patch9: perl-5.7.3-syslog.patch
Patch11: perl-5.8.3-fullinc.patch Patch11: perl-5.8.3-fullinc.patch
Patch12: perl-5.8.5-incpush.patch Patch12: perl-5.8.5-incpush.patch
Patch13: perl-5.8.3-perlbug-tag.patch Patch13: perl-5.8.3-perlbug-tag.patch
Patch14: perl-5.8.5-dashI.patch
%define __perl_requires %{SOURCE11} %define __perl_requires %{SOURCE11}
@ -203,6 +204,7 @@ more secure running of setuid perl scripts.
%patch11 -p1 %patch11 -p1
%patch12 -p1 %patch12 -p1
%patch13 -p1 %patch13 -p1
%patch14 -p1
%patch17 -p1 %patch17 -p1