aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/klibc/klibc-1.5.21/use-env-for-perl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/klibc/klibc-1.5.21/use-env-for-perl.patch')
-rw-r--r--recipes/klibc/klibc-1.5.21/use-env-for-perl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/klibc/klibc-1.5.21/use-env-for-perl.patch b/recipes/klibc/klibc-1.5.21/use-env-for-perl.patch
new file mode 100644
index 0000000000..8609864251
--- /dev/null
+++ b/recipes/klibc/klibc-1.5.21/use-env-for-perl.patch
@@ -0,0 +1,17 @@
+---
+ klcc/makeklcc.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: klibc-1.5.20/klcc/makeklcc.pl
+===================================================================
+--- klibc-1.5.20.orig/klcc/makeklcc.pl
++++ klibc-1.5.20/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";