diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2013-12-17 00:37:40 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-12-17 20:53:23 +0000 |
commit | d4ba54f15ff1c9e25771e52b0116c267e251813b (patch) | |
tree | 5a75aa454aff3a233ee6557a399b210f5050f652 /meta-initramfs/recipes-devtools/klibc/klibc-2.0.3/use-env-for-perl.patch | |
parent | 5782b2d27bc9db84fa1bd2d499e3b0e737bcd272 (diff) | |
download | meta-openembedded-contrib-d4ba54f15ff1c9e25771e52b0116c267e251813b.tar.gz |
klibc: upgrade from 2.0.2 to release 2.0.3
Klibc now supports aarch64 / arm64
While there, remove PR/INC_PR from the recipes
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc-2.0.3/use-env-for-perl.patch')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc-2.0.3/use-env-for-perl.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.3/use-env-for-perl.patch b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.3/use-env-for-perl.patch new file mode 100644 index 0000000000..eac128cc09 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.3/use-env-for-perl.patch @@ -0,0 +1,25 @@ +Patch was imported from the OpenEmbedded git server +(git://git.openembedded.org/openembedded) +as of commit id 676cbb54d42c89a4832871064cfcb7ee2ad372ee + +klcc-cross: Add patch to use /usr/bin/env perl +Certain configurations (such as autobuilders) may build in very +deep paths (that are longer than the #! mechanism allows) which +makes it unsafe to use the direct path for perl. In our case we know +that /usr/bin/env perl will always return ours (if it has been built). + +Signed-off-by: Tom Rini <tom_rini@mentor.com> + +Index: klibc-1.5.20/klcc/makeklcc.pl +=================================================================== +--- a/klcc/makeklcc.pl ++++ b/klcc/makeklcc.pl +@@ -26,7 +26,7 @@ sub pathsearch($) { + return undef; + } + +-print "#!${perlpath}\n"; ++print "#!/usr/bin/env perl\n"; + + open(KLIBCCONF, "< $klibcconf\0") + or die "$0: cannot open $klibcconf: $!\n"; |