From 728149c0fc8bfeb2460d7d0be4e1443a8d306a8f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 Sep 2017 17:35:05 +0200 Subject: lm32: add patch for kernel and elf2flt --- .../6a2f2e4198eaff63ee75f6085ce9f966c47b4441/perl-fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/patches/6a2f2e4198eaff63ee75f6085ce9f966c47b4441/perl-fix.patch (limited to 'target/linux/patches/6a2f2e4198eaff63ee75f6085ce9f966c47b4441/perl-fix.patch') diff --git a/target/linux/patches/6a2f2e4198eaff63ee75f6085ce9f966c47b4441/perl-fix.patch b/target/linux/patches/6a2f2e4198eaff63ee75f6085ce9f966c47b4441/perl-fix.patch new file mode 100644 index 000000000..2de40e0e3 --- /dev/null +++ b/target/linux/patches/6a2f2e4198eaff63ee75f6085ce9f966c47b4441/perl-fix.patch @@ -0,0 +1,12 @@ +diff -Nur linux-1d008423ab5fd12459f53342e4d17585ec63cfe4.orig/kernel/timeconst.pl linux-1d008423ab5fd12459f53342e4d17585ec63cfe4/kernel/timeconst.pl +--- linux-1d008423ab5fd12459f53342e4d17585ec63cfe4.orig/kernel/timeconst.pl 2016-12-22 18:05:10.000000000 +0100 ++++ linux-1d008423ab5fd12459f53342e4d17585ec63cfe4/kernel/timeconst.pl 2016-12-22 18:42:55.573173008 +0100 +@@ -370,7 +370,7 @@ + } + + @val = @{$canned_values{$hz}}; +- if (!defined(@val)) { ++ if (!@val) { + @val = compute_values($hz); + } + output($hz, @val); -- cgit v1.2.3