lantiq: fix gcc 5 build
authorMatteo Croce <rootkit85@yahoo.it>
Sun, 4 Oct 2015 22:10:18 +0000 (22:10 +0000)
committerMatteo Croce <rootkit85@yahoo.it>
Sun, 4 Oct 2015 22:10:18 +0000 (22:10 +0000)
SVN-Revision: 47106

package/kernel/lantiq/ltq-adsl-mei/patches/100_no-date-time.patch [new file with mode: 0644]
package/kernel/lantiq/ltq-vdsl-mei/patches/101_no-date-time.patch [new file with mode: 0644]

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 (file)
index 0000000..741c5b7
--- /dev/null
@@ -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 (file)
index 0000000..219243f
--- /dev/null
@@ -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);
+ }
+ /**