From 01b2fe3c1aa86d1a9af07a3be4652c5df8395cca 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 ++++++++++++++ .../perl/files/libperl-5.8.3-create-libperl-soname.patch | 11 ----------- recipes/perl/perl-5.10.1/native-ssp.patch | 14 -------------- recipes/perl/perl-5.8.8/native-ssp.patch | 14 -------------- 6 files changed, 39 insertions(+), 39 deletions(-) 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 delete mode 100644 recipes/perl/files/libperl-5.8.3-create-libperl-soname.patch delete mode 100644 recipes/perl/perl-5.10.1/native-ssp.patch delete mode 100644 recipes/perl/perl-5.8.8/native-ssp.patch 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"' diff --git a/recipes/perl/files/libperl-5.8.3-create-libperl-soname.patch b/recipes/perl/files/libperl-5.8.3-create-libperl-soname.patch deleted file mode 100644 index 6b34ec2318..0000000000 --- a/recipes/perl/files/libperl-5.8.3-create-libperl-soname.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/perl/perl-5.10.1/native-ssp.patch b/recipes/perl/perl-5.10.1/native-ssp.patch deleted file mode 100644 index 1c825f50d0..0000000000 --- a/recipes/perl/perl-5.10.1/native-ssp.patch +++ /dev/null @@ -1,14 +0,0 @@ -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/perl/perl-5.8.8/native-ssp.patch b/recipes/perl/perl-5.8.8/native-ssp.patch deleted file mode 100644 index 1c825f50d0..0000000000 --- a/recipes/perl/perl-5.8.8/native-ssp.patch +++ /dev/null @@ -1,14 +0,0 @@ -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