From e5063204cc5a4282931c6968b4e0102da741030a Mon Sep 17 00:00:00 2001 From: cturner Date: Fri, 1 Oct 2004 16:42:25 +0000 Subject: [PATCH] add patch to fix perl -I adding versioned subdirs --- perl-5.8.5-dashI.patch | 11 +++++++++++ perl.spec | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 perl-5.8.5-dashI.patch diff --git a/perl-5.8.5-dashI.patch b/perl-5.8.5-dashI.patch new file mode 100644 index 0000000..f8bf839 --- /dev/null +++ b/perl-5.8.5-dashI.patch @@ -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); diff --git a/perl.spec b/perl.spec index 0b02a5d..07d7c02 100644 --- a/perl.spec +++ b/perl.spec @@ -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