aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/ar7-atm
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2015-12-06 13:41:26 +0000
committerHauke Mehrtens <hauke@openwrt.org>2015-12-06 13:41:26 +0000
commit39d988bdc36f87c27b7756f1d738db3d0db5a990 (patch)
treefa6518f44ba66fab242233fb48494efe0cdb70c4 /package/kernel/ar7-atm
parentf6211c47c25c069dd1915ec5caffcac3ee28384e (diff)
downloadmaster-187ad058-39d988bdc36f87c27b7756f1d738db3d0db5a990.tar.gz
master-187ad058-39d988bdc36f87c27b7756f1d738db3d0db5a990.tar.bz2
master-187ad058-39d988bdc36f87c27b7756f1d738db3d0db5a990.zip
ar7-atm: fix build with gcc 5
Remove the usage of the __TIME__ and __DATE__ macro. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47797 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/ar7-atm')
-rw-r--r--package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch11
-rw-r--r--package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch b/package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch
new file mode 100644
index 0000000000..9b3abf006b
--- /dev/null
+++ b/package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch
@@ -0,0 +1,11 @@
+--- a/aal5sar.h
++++ b/aal5sar.h
+@@ -19,7 +19,7 @@
+ /** \namespace AAL5_Version
+ This documents version 01.07.2c of the AAL5 CPHAL.
+ */
+-const char *pszVersion_CPAAL5="CPAAL5 01.07.2c "__DATE__" "__TIME__;
++const char *pszVersion_CPAAL5="CPAAL5 01.07.2c ";
+
+ #include "cpsar_cpaal5.h"
+
diff --git a/package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch b/package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch
new file mode 100644
index 0000000000..9b3abf006b
--- /dev/null
+++ b/package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch
@@ -0,0 +1,11 @@
+--- a/aal5sar.h
++++ b/aal5sar.h
+@@ -19,7 +19,7 @@
+ /** \namespace AAL5_Version
+ This documents version 01.07.2c of the AAL5 CPHAL.
+ */
+-const char *pszVersion_CPAAL5="CPAAL5 01.07.2c "__DATE__" "__TIME__;
++const char *pszVersion_CPAAL5="CPAAL5 01.07.2c ";
+
+ #include "cpsar_cpaal5.h"
+