summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-08-04 02:51:28 +0000
committerNed Ludd <solar@gentoo.org>2005-08-04 02:51:28 +0000
commit6b4edfbb08e2e935d2e4ab763e6a6581a70639aa (patch)
treee9391929d4ebf5516ea9e89b2bf88df277eed925 /dev-lang/perl/files
parentheader fix (diff)
downloadgentoo-2-6b4edfbb08e2e935d2e4ab763e6a6581a70639aa.tar.gz
gentoo-2-6b4edfbb08e2e935d2e4ab763e6a6581a70639aa.tar.bz2
gentoo-2-6b4edfbb08e2e935d2e4ab763e6a6581a70639aa.zip
Starting and hopefully ending with 5.8.7 we observe stack corruption with the regexp handling in perls DynaLoader code with ssp enabled. This become fatal during compile time so we temporally disable ssp on two regexp files till upstream has a chance to work it out. Bug #97452
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-lang/perl/files')
-rw-r--r--dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch b/dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch
new file mode 100644
index 000000000000..f06e9ec93b31
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch
@@ -0,0 +1,11 @@
+--- cflags.SH.orig 2005-07-03 23:39:10.000000000 -0400
++++ cflags.SH 2005-07-03 23:39:47.000000000 -0400
+@@ -165,6 +165,8 @@
+ esac
+
+ : Can we perhaps use $ansi2knr here
++ [[ $file == regcomp ]] && export ccflags="${ccflags} -fno-stack-protector"
++ [[ $file == regexec ]] && export ccflags="${ccflags} -fno-stack-protector"
+ echo "$cc -c -DPERL_CORE $ccflags $optimize $warn"
+ eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'
+