diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-25 10:32:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-25 10:35:31 +0100 |
commit | acd7dc43632c921003b795f25876e98996fc7bf4 (patch) | |
tree | 9e474a3b96e168c6fb7d012c7ee8cb39e67b8baa /target/linux/patches | |
parent | 69b5c88ac79ed1e1059d5c0038f6360135e56692 (diff) |
fix old kernel build with newer perl
Diffstat (limited to 'target/linux/patches')
-rw-r--r-- | target/linux/patches/1d008423ab5fd12459f53342e4d17585ec63cfe4/perl-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/1d008423ab5fd12459f53342e4d17585ec63cfe4/perl-fix.patch b/target/linux/patches/1d008423ab5fd12459f53342e4d17585ec63cfe4/perl-fix.patch new file mode 100644 index 000000000..2de40e0e3 --- /dev/null +++ b/target/linux/patches/1d008423ab5fd12459f53342e4d17585ec63cfe4/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); |