From 728d1f98285ca36c6f63c48b4a9f3125ef7396ff Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 17 Feb 2019 19:00:23 +0100 Subject: 20190217.1 global branch merge. Signed-off-by: Matteo Bernardini --- .../fix-scanner-config-for-flex-2.6.x.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 development/latrace/fix-scanner-config-for-flex-2.6.x.patch (limited to 'development/latrace/fix-scanner-config-for-flex-2.6.x.patch') diff --git a/development/latrace/fix-scanner-config-for-flex-2.6.x.patch b/development/latrace/fix-scanner-config-for-flex-2.6.x.patch new file mode 100644 index 0000000000..301f4c5a96 --- /dev/null +++ b/development/latrace/fix-scanner-config-for-flex-2.6.x.patch @@ -0,0 +1,23 @@ +--- src/config-flex.l.orig 2011-07-25 07:18:18.000000000 -0400 ++++ src/config-flex.l 2017-07-02 13:52:20.048382500 -0400 +@@ -106,19 +106,17 @@ OPTIONS { BEGIN(options); return OPTI + "\n" { NEW_LINE(); } + . { ; } + + %% + +-#ifndef yywrap +-int yywrap() ++int lt_config_wrap() + { + return 1; + /* XXX not to get the compiler 'not used' warning */ + yyunput(0, NULL); + input(); + } +-#endif + + void lt_config_error(const char *m) + { + printf("conf file [%s] line %d: %s\n", + lt_inc_stack(lt_config_sinc)->file, -- cgit v1.2.3