summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch
Commit message (Collapse)AuthorAgeFilesLines
* mc: replace "perl -w" with "use warnings"Robert Yang2017-04-101-0/+129
The shebang's max length is usually 128 as defined in /usr/include/linux/binfmts.h: #define BINPRM_BUF_SIZE 128 There would be errors when @PERL@ (hostools/perl) is longer than 128, use '/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w' doesn't work: /usr/bin/env: perl -w: No such file or directory So replace "perl -w" with "use warnings" to make it work. (From OE-Core rev: 85decf26fe580acdf072baf561418bf73b7bfca4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>