add patch to fix perl -I adding versioned subdirs
This commit is contained in:
parent
2d1ac7b139
commit
e5063204cc
11
perl-5.8.5-dashI.patch
Normal file
11
perl-5.8.5-dashI.patch
Normal 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);
|
@ -5,7 +5,7 @@
|
||||
%define multilib_64_archs x86_64 s390x ppc64 sparc64
|
||||
|
||||
%define perlver 5.8.5
|
||||
%define perlrel 5
|
||||
%define perlrel 6
|
||||
%define perlepoch 3
|
||||
|
||||
Provides: perl(:WITH_PERLIO)
|
||||
@ -57,6 +57,7 @@ Patch9: perl-5.7.3-syslog.patch
|
||||
Patch11: perl-5.8.3-fullinc.patch
|
||||
Patch12: perl-5.8.5-incpush.patch
|
||||
Patch13: perl-5.8.3-perlbug-tag.patch
|
||||
Patch14: perl-5.8.5-dashI.patch
|
||||
|
||||
%define __perl_requires %{SOURCE11}
|
||||
|
||||
@ -203,6 +204,7 @@ more secure running of setuid perl scripts.
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
|
||||
%patch17 -p1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user