summaryrefslogtreecommitdiff
path: root/user/pcmciautils/disable_yywrap.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 03:28:52 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 03:28:52 -0500
commit8b1c1ddc81ad85a42affffce785fb80d237feec0 (patch)
tree14208c3bb9d7af37ab87fe6d6a4f59897edc584f /user/pcmciautils/disable_yywrap.patch
parent0b742ec3f1217699497b23ec293ac0f2007a4042 (diff)
downloadpackages-8b1c1ddc81ad85a42affffce785fb80d237feec0.tar.gz
packages-8b1c1ddc81ad85a42affffce785fb80d237feec0.tar.bz2
packages-8b1c1ddc81ad85a42affffce785fb80d237feec0.tar.xz
packages-8b1c1ddc81ad85a42affffce785fb80d237feec0.zip
user/pcmciautils: actually use upstream tarball
Diffstat (limited to 'user/pcmciautils/disable_yywrap.patch')
-rw-r--r--user/pcmciautils/disable_yywrap.patch27
1 files changed, 27 insertions, 0 deletions
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
+
+ ======================================================================*/