diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2012-08-12 23:14:48 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-08-16 15:17:57 +0200 |
commit | 5fd2b71ccab54b0717ebed21869754de16bd3608 (patch) | |
tree | cb65a511e0ecccb3ebdd4ff176c4378865c1dd2a /meta-initramfs/recipes-devtools/klibc/klibc-2.0.1/use-env-for-perl.patch | |
parent | 2c89991a1a682faea4eb31246508e789364464ca (diff) | |
download | meta-openembedded-5fd2b71ccab54b0717ebed21869754de16bd3608.tar.gz |
klibc: upgrade from 2.0 to 2.0.1
* remove unused patches legacy of oe-classic
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc-2.0.1/use-env-for-perl.patch')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc-2.0.1/use-env-for-perl.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.1/use-env-for-perl.patch b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.1/use-env-for-perl.patch new file mode 100644 index 0000000000..eac128cc09 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.1/use-env-for-perl.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Patch was imported from the OpenEmbedded git server | ||
2 | (git://git.openembedded.org/openembedded) | ||
3 | as of commit id 676cbb54d42c89a4832871064cfcb7ee2ad372ee | ||
4 | |||
5 | klcc-cross: Add patch to use /usr/bin/env perl | ||
6 | Certain configurations (such as autobuilders) may build in very | ||
7 | deep paths (that are longer than the #! mechanism allows) which | ||
8 | makes it unsafe to use the direct path for perl. In our case we know | ||
9 | that /usr/bin/env perl will always return ours (if it has been built). | ||
10 | |||
11 | Signed-off-by: Tom Rini <tom_rini@mentor.com> | ||
12 | |||
13 | Index: klibc-1.5.20/klcc/makeklcc.pl | ||
14 | =================================================================== | ||
15 | --- a/klcc/makeklcc.pl | ||
16 | +++ b/klcc/makeklcc.pl | ||
17 | @@ -26,7 +26,7 @@ sub pathsearch($) { | ||
18 | return undef; | ||
19 | } | ||
20 | |||
21 | -print "#!${perlpath}\n"; | ||
22 | +print "#!/usr/bin/env perl\n"; | ||
23 | |||
24 | open(KLIBCCONF, "< $klibcconf\0") | ||
25 | or die "$0: cannot open $klibcconf: $!\n"; | ||