aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Croce <rootkit85@yahoo.it>2015-10-04 22:10:18 +0000
committerMatteo Croce <rootkit85@yahoo.it>2015-10-04 22:10:18 +0000
commitcf89e6a1b86d880553df5a2c0bbeb7c26330c693 (patch)
treed27bacaed7944f59065d9b6baace6a3868df5592
parent70da7324cdf3e9da80eab9074adc116432b4535e (diff)
downloadupstream-cf89e6a1b86d880553df5a2c0bbeb7c26330c693.tar.gz
upstream-cf89e6a1b86d880553df5a2c0bbeb7c26330c693.tar.bz2
upstream-cf89e6a1b86d880553df5a2c0bbeb7c26330c693.zip
lantiq: fix gcc 5 build
SVN-Revision: 47106
-rw-r--r--package/kernel/lantiq/ltq-adsl-mei/patches/100_no-date-time.patch13
-rw-r--r--package/kernel/lantiq/ltq-vdsl-mei/patches/101_no-date-time.patch13
2 files changed, 26 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-adsl-mei/patches/100_no-date-time.patch b/package/kernel/lantiq/ltq-adsl-mei/patches/100_no-date-time.patch
new file mode 100644
index 0000000000..741c5b7e49
--- /dev/null
+++ b/package/kernel/lantiq/ltq-adsl-mei/patches/100_no-date-time.patch
@@ -0,0 +1,13 @@
+--- a/src/drv_mei_cpe_linux.c
++++ b/src/drv_mei_cpe_linux.c
+@@ -1400,8 +1400,8 @@ struct proc_entry {
+ static void MEI_GetVersionProc(struct seq_file *s)
+ {
+ seq_printf(s, "%s" MEI_DRV_CRLF, &MEI_WHATVERSION[4]);
+- seq_printf(s, "Compiled on %s, %s for Linux kernel %s (jiffies: %ld)" MEI_DRV_CRLF,
+- __DATE__, __TIME__, UTS_RELEASE, jiffies);
++ seq_printf(s, "Compiled on for Linux kernel %s (jiffies: %ld)" MEI_DRV_CRLF,
++ UTS_RELEASE, jiffies);
+ }
+
+ /**
diff --git a/package/kernel/lantiq/ltq-vdsl-mei/patches/101_no-date-time.patch b/package/kernel/lantiq/ltq-vdsl-mei/patches/101_no-date-time.patch
new file mode 100644
index 0000000000..219243ff77
--- /dev/null
+++ b/package/kernel/lantiq/ltq-vdsl-mei/patches/101_no-date-time.patch
@@ -0,0 +1,13 @@
+--- a/src/drv_mei_cpe_linux.c
++++ b/src/drv_mei_cpe_linux.c
+@@ -1400,8 +1400,8 @@ struct proc_entry {
+ static void MEI_GetVersionProc(struct seq_file *s)
+ {
+ seq_printf(s, "%s" MEI_DRV_CRLF, &MEI_WHATVERSION[4]);
+- seq_printf(s, "Compiled on %s, %s for Linux kernel %s (jiffies: %ld)" MEI_DRV_CRLF,
+- __DATE__, __TIME__, UTS_RELEASE, jiffies);
++ seq_printf(s, "Compiled for Linux kernel %s (jiffies: %ld)" MEI_DRV_CRLF,
++ UTS_RELEASE, jiffies);
+ }
+
+ /**