From 66e00f144c6935d564af4acfe1d4b859266d86a6 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sun, 26 Sep 2010 13:00:43 +0200 Subject: perl: moved a few unused patches to obsolete Signed-off-by: Frans Meulenbroeks --- .../perl/files/libperl-5.8.3-create-libperl-soname.patch | 11 +++++++++++ recipes/obsolete/perl/perl-5.10.1/native-ssp.patch | 14 ++++++++++++++ recipes/obsolete/perl/perl-5.8.8/native-ssp.patch | 14 ++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 recipes/obsolete/perl/files/libperl-5.8.3-create-libperl-soname.patch create mode 100644 recipes/obsolete/perl/perl-5.10.1/native-ssp.patch create mode 100644 recipes/obsolete/perl/perl-5.8.8/native-ssp.patch (limited to 'recipes/obsolete') diff --git a/recipes/obsolete/perl/files/libperl-5.8.3-create-libperl-soname.patch b/recipes/obsolete/perl/files/libperl-5.8.3-create-libperl-soname.patch new file mode 100644 index 0000000000..6b34ec2318 --- /dev/null +++ b/recipes/obsolete/perl/files/libperl-5.8.3-create-libperl-soname.patch @@ -0,0 +1,11 @@ +--- Makefile.SH.orig 2003-07-10 14:59:04.000000000 -0700 ++++ Makefile.SH 2003-07-10 15:14:08.000000000 -0700 +@@ -494,7 +494,7 @@ + case "$useshrplib" in + true) + $spitshell >>Makefile <<'!NO!SUBS!' +- $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs) ++ $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs) -soname libperl.so.5 + !NO!SUBS! + case "$osname" in + aix) diff --git a/recipes/obsolete/perl/perl-5.10.1/native-ssp.patch b/recipes/obsolete/perl/perl-5.10.1/native-ssp.patch new file mode 100644 index 0000000000..1c825f50d0 --- /dev/null +++ b/recipes/obsolete/perl/perl-5.10.1/native-ssp.patch @@ -0,0 +1,14 @@ +Fix for compiling with ssp enabled gcc: +See http://bugs.openembedded.net/show_bug.cgi?id=1980 + +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"' diff --git a/recipes/obsolete/perl/perl-5.8.8/native-ssp.patch b/recipes/obsolete/perl/perl-5.8.8/native-ssp.patch new file mode 100644 index 0000000000..1c825f50d0 --- /dev/null +++ b/recipes/obsolete/perl/perl-5.8.8/native-ssp.patch @@ -0,0 +1,14 @@ +Fix for compiling with ssp enabled gcc: +See http://bugs.openembedded.net/show_bug.cgi?id=1980 + +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"' -- cgit 1.2.3-korg