ar7-atm: fix build with gcc 5
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Dec 2015 13:41:26 +0000 (13:41 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Dec 2015 13:41:26 +0000 (13:41 +0000)
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

package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch [new file with mode: 0644]
package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch [new file with mode: 0644]

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 (file)
index 0000000..9b3abf0
--- /dev/null
@@ -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 (file)
index 0000000..9b3abf0
--- /dev/null
@@ -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"