aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Croce <matteo@openwrt.org>2015-10-04 22:10:18 +0000
committerMatteo Croce <matteo@openwrt.org>2015-10-04 22:10:18 +0000
commit3de5abbd792f220aa5cb3347c6d5d6ea05280fda (patch)
treec5a696af35085bf42a22e5d6eb794aa692909d6a
parent9edd017c6e614716af7218d095aa3201b156430e (diff)
downloadmaster-187ad058-3de5abbd792f220aa5cb3347c6d5d6ea05280fda.tar.gz
master-187ad058-3de5abbd792f220aa5cb3347c6d5d6ea05280fda.tar.bz2
master-187ad058-3de5abbd792f220aa5cb3347c6d5d6ea05280fda.zip
lantiq: fix gcc 5 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47106 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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);
+ }
+
+ /**