summaryrefslogtreecommitdiffstats
path: root/package/at/at-0007-parsetime.l-include-config-h.patch
diff options
context:
space:
mode:
authorJerzy Grzegorek <jerzy.grzegorek@trzebnica.net>2013-04-13 06:52:41 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-28 20:33:15 +0200
commit41de02bd0277f5df5ce575f08f06958237fb2de7 (patch)
treea9603d5c62c48d7bd06de827df89a5a902b90209 /package/at/at-0007-parsetime.l-include-config-h.patch
parentb1c79ec15e724939d7ef2b2357d1f25de3a940f0 (diff)
downloadbuildroot-novena-41de02bd0277f5df5ce575f08f06958237fb2de7.tar.gz
buildroot-novena-41de02bd0277f5df5ce575f08f06958237fb2de7.zip
at: bump to version 3.1.13
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/at/at-0007-parsetime.l-include-config-h.patch')
-rw-r--r--package/at/at-0007-parsetime.l-include-config-h.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/at/at-0007-parsetime.l-include-config-h.patch b/package/at/at-0007-parsetime.l-include-config-h.patch
new file mode 100644
index 000000000..f4111ebf6
--- /dev/null
+++ b/package/at/at-0007-parsetime.l-include-config-h.patch
@@ -0,0 +1,16 @@
+Make sure to include config.h so that NEEDS_* macros are properly
+taken into account. This was a problem for NEEDS_YYWRAP, which was set
+to 1 in config.h, but the corresponding code wasn't compiled in.
+
+Index: at-3.1.13/parsetime.l
+===================================================================
+--- at-3.1.13.orig/parsetime.l
++++ at-3.1.13/parsetime.l
+@@ -4,6 +4,7 @@
+ #include <time.h>
+ #include "y.tab.h"
+ #include "parsetime.h"
++#include "config.h"
+
+ char *last_token = NULL;
+ char **my_argv;