Author: archaic
Date: 2005-10-08 08:51:57 -0600 (Sat, 08 Oct 2005)
New Revision: 1174

Added:
   trunk/hlfs/perl-5.8.7-regex_ssp-1.patch
   trunk/perl/perl-5.8.7-regex_ssp-1.patch
Log:
Added perl SSP patch.

Added: trunk/hlfs/perl-5.8.7-regex_ssp-1.patch
===================================================================
--- trunk/hlfs/perl-5.8.7-regex_ssp-1.patch     2005-10-08 14:45:52 UTC (rev 
1173)
+++ trunk/hlfs/perl-5.8.7-regex_ssp-1.patch     2005-10-08 14:51:57 UTC (rev 
1174)
@@ -0,0 +1 @@
+link ../perl/perl-5.8.7-regex_ssp-1.patch
\ No newline at end of file


Property changes on: trunk/hlfs/perl-5.8.7-regex_ssp-1.patch
___________________________________________________________________
Name: svn:special
   + *

Added: trunk/perl/perl-5.8.7-regex_ssp-1.patch
===================================================================
--- trunk/perl/perl-5.8.7-regex_ssp-1.patch     2005-10-08 14:45:52 UTC (rev 
1173)
+++ trunk/perl/perl-5.8.7-regex_ssp-1.patch     2005-10-08 14:51:57 UTC (rev 
1174)
@@ -0,0 +1,21 @@
+Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes)
+Date: 2005-10-02
+Initial Package Version: 5.8.7
+Upstream Status: Unknown
+Origin: http://linuxfromscratch.org/pipermail/hlfs-dev/2005-August/002360.html
+Description: The regex code in this version of Perl segfaults when compiled
+with stack smashing protector. This patch disables stack smashing protector
+just on the affected files.
+
+diff -Naur perl-5.8.7.orig/cflags.SH perl-5.8.7/cflags.SH
+--- perl-5.8.7.orig/cflags.SH  2002-09-30 10:59:07.000000000 +0000
++++ perl-5.8.7/cflags.SH       2005-10-02 04:08:39.000000000 +0000
+@@ -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"'
+ 

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to