Author: hauke
Date: 2015-12-06 14:41:26 +0100 (Sun, 06 Dec 2015)
New Revision: 47797

Added:
   trunk/package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch
   trunk/package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch
Log:
ar7-atm: fix build with gcc 5

Remove the usage of the __TIME__ and __DATE__ macro.

Signed-off-by: Hauke Mehrtens <[email protected]>


Added: trunk/package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch
===================================================================
--- trunk/package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch     
                        (rev 0)
+++ trunk/package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch     
2015-12-06 13:41:26 UTC (rev 47797)
@@ -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"
+ 

Added: trunk/package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch
===================================================================
--- trunk/package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch     
                        (rev 0)
+++ trunk/package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch     
2015-12-06 13:41:26 UTC (rev 47797)
@@ -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"
+ 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to