diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-09 18:40:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:30 +0000 |
commit | 5d661c538d9a145463da568b792c778601a376d7 (patch) | |
tree | ba257da7aee484de5af2f1a2bb02263996154202 /meta/recipes-bsp/pcmciautils/pcmciautils-018/lex_sys_types.patch | |
parent | 86795ffdde4a9cd0b3e2662f8e0c83cb212ee3ee (diff) | |
download | poky-5d661c538d9a145463da568b792c778601a376d7.tar.gz |
pcmciautils: Fix parallel build and include sys/types.h
parallel build patch was removing dependencies on .c files mistakenly
just adding src/yacc_config.h to dependencies in existing rule should
have fixed the original build race
include sys/types.h in lex_config.l for getting u_long definition
(From OE-Core rev: 149a5202d32650775386e166ed06855097256977)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pcmciautils/pcmciautils-018/lex_sys_types.patch')
-rw-r--r-- | meta/recipes-bsp/pcmciautils/pcmciautils-018/lex_sys_types.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils-018/lex_sys_types.patch b/meta/recipes-bsp/pcmciautils/pcmciautils-018/lex_sys_types.patch new file mode 100644 index 0000000000..d4c2bed15c --- /dev/null +++ b/meta/recipes-bsp/pcmciautils/pcmciautils-018/lex_sys_types.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Include sys/types.h for u_long definition | ||
2 | |||
3 | Fix errors like | ||
4 | In file included from src/lex_config.l:34:0: | ||
5 | src/yacc_config.y:45:5: error: unknown type name 'u_long' | ||
6 | u_long num; | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | Upstream-Status: Pending | ||
10 | Index: pcmciautils-018/src/lex_config.l | ||
11 | =================================================================== | ||
12 | --- pcmciautils-018.orig/src/lex_config.l | ||
13 | +++ pcmciautils-018/src/lex_config.l | ||
14 | @@ -22,6 +22,7 @@ | ||
15 | #include <unistd.h> | ||
16 | #include <string.h> | ||
17 | #include <syslog.h> | ||
18 | +#include <sys/types.h> | ||
19 | |||
20 | #ifdef HAS_WORDEXP | ||
21 | #include <wordexp.h> | ||