summaryrefslogtreecommitdiffstats
path: root/development/latrace/fix-scanner-config-for-flex-2.6.x.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-08-24 10:35:48 +0200
committer Matteo Bernardini2019-08-24 10:35:48 +0200
commite93fc1029f35673e06f2d9126d1353248d7e3896 (patch)
tree23b5b1b9250223d5c1c941b9bb3c21e2a59645e6 /development/latrace/fix-scanner-config-for-flex-2.6.x.patch
parent5afd639f0f73f1a079e885e0ef5df06643eba6a4 (diff)
downloadslackbuilds-current-20190824.1.tar.gz
20190824.1 global branch merge.current-20190824.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/latrace/fix-scanner-config-for-flex-2.6.x.patch')
-rw-r--r--development/latrace/fix-scanner-config-for-flex-2.6.x.patch23
1 files changed, 23 insertions, 0 deletions
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
+ <options>"\n" { NEW_LINE(); }
+ <options>. { ; }
+
+ %%
+
+-#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,