From 3c0d5e432125a13981d5e7393b503617765b3e7c Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Sat, 6 Aug 2011 05:30:14 +0000 Subject: klibc: initial commit of version 1.5.24 * from org.openembedded.dev * reworked in meta-smartphones/meta-zaurus Signed-off-by: Andrea Adami Signed-off-by: Koen Kooi --- .../klibc/klibc-1.5.24/use-env-for-perl.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch (limited to 'meta-oe/recipes-devtools/klibc/klibc-1.5.24/use-env-for-perl.patch') 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 @@ +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 + +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"; -- cgit v1.2.3-54-g00ecf