packages/utils/pcmciautils/patches/002-disable_yywrap.patch
Tomasz Maciej Nowak d901cea1d5 pcmciautils: import from oldpackages
-import from oldpackages
 -add PKG_LICENSE, PKG_LICENSE_FILES, PKG_MAINTAINER
 -add two build fix patches

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2017-01-21 16:37:41 +01:00

27 lines
593 B
Diff

--- 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
======================================================================*/