summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.32.70/perl-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-26 04:38:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-27 05:50:46 +0200
commita73da5a99a13b34e18f98c1ad0c327fdad000257 (patch)
tree13f2c15f2bf73222282cd5285a69dc1471fc66b8 /target/linux/patches/2.6.32.70/perl-fix.patch
parentcdd54e5dbcc88c265a03afcc408c48cca30df03a (diff)
sample for SUN JavaStation
Diffstat (limited to 'target/linux/patches/2.6.32.70/perl-fix.patch')
-rw-r--r--target/linux/patches/2.6.32.70/perl-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.32.70/perl-fix.patch b/target/linux/patches/2.6.32.70/perl-fix.patch
new file mode 100644
index 000000000..2de40e0e3
--- /dev/null
+++ b/target/linux/patches/2.6.32.70/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);