packages/utils/pcmciautils/patches/002-disable_yywrap.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

21 lines
402 B
Diff

--- a/src/lex_config.l
+++ b/src/lex_config.l
@@ -1,6 +1,6 @@
/* Special state for handling include files */
%x src
-%option noinput nounput
+%option noinput nounput noyywrap
%{
/*
@@ -77,10 +77,6 @@ module /* skip */ ;
%%
-#ifndef yywrap
-int yywrap() { return 1; }
-#endif
-
/*======================================================================
Stuff to parse basic data types