summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2011-08-06 05:30:14 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-08-17 09:21:11 +0200
commit3c0d5e432125a13981d5e7393b503617765b3e7c (patch)
tree2c64db6cce995ca602f23c88ce552b0cb0907326 /meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch
parent06c3e6c9b1f8e378a30b1ce389da4a6a50beb540 (diff)
downloadmeta-openembedded-3c0d5e432125a13981d5e7393b503617765b3e7c.tar.gz
klibc: initial commit of version 1.5.24
* from org.openembedded.dev * reworked in meta-smartphones/meta-zaurus Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch')
-rw-r--r--meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch b/meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch
new file mode 100644
index 000000000..eac128cc0
--- /dev/null
+++ b/meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch
@@ -0,0 +1,25 @@
1Patch was imported from the OpenEmbedded git server
2(git://git.openembedded.org/openembedded)
3as of commit id 676cbb54d42c89a4832871064cfcb7ee2ad372ee
4
5klcc-cross: Add patch to use /usr/bin/env perl
6Certain configurations (such as autobuilders) may build in very
7deep paths (that are longer than the #! mechanism allows) which
8makes it unsafe to use the direct path for perl. In our case we know
9that /usr/bin/env perl will always return ours (if it has been built).
10
11Signed-off-by: Tom Rini <tom_rini@mentor.com>
12
13Index: 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";