From 8b1c1ddc81ad85a42affffce785fb80d237feec0 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 27 Jul 2018 03:28:52 -0500 Subject: user/pcmciautils: actually use upstream tarball --- user/pcmciautils/disable_yywrap.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 user/pcmciautils/disable_yywrap.patch (limited to 'user/pcmciautils/disable_yywrap.patch') diff --git a/user/pcmciautils/disable_yywrap.patch b/user/pcmciautils/disable_yywrap.patch new file mode 100644 index 000000000..e30abb0d1 --- /dev/null +++ b/user/pcmciautils/disable_yywrap.patch @@ -0,0 +1,27 @@ +--- pcmciautils-018/src/lex_config.l ++++ pcmciautils-018/src/lex_config.l +@@ -1,8 +1,8 @@ + /* Special state for handling include files */ + %x src +-%option noinput nounput ++%option noinput nounput noyywrap + + %{ + /* + * Startup tool for non statically mapped PCMCIA sockets + * +@@ -75,14 +75,10 @@ module /* skip */ ; + + . return yytext[0]; + + %% + +-#ifndef yywrap +-int yywrap() { return 1; } +-#endif +- + /*====================================================================== + + Stuff to parse basic data types + + ======================================================================*/ -- cgit v1.2.3-70-g09d2