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-22 23:42:52 +0000 |
commit | 149a5202d32650775386e166ed06855097256977 (patch) | |
tree | 4a1a8543c8e90ccd10e066bc2dcd1159d00d30b1 /meta/recipes-bsp/pcmciautils/pcmciautils-018/lex_sys_types.patch | |
parent | 93911daf0b492d16d02b2bd7ce93ae1eb6bdb5a4 (diff) | |
download | openembedded-core-contrib-149a5202d32650775386e166ed06855097256977.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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 @@ +Include sys/types.h for u_long definition + +Fix errors like +In file included from src/lex_config.l:34:0: +src/yacc_config.y:45:5: error: unknown type name 'u_long' + u_long num; + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Upstream-Status: Pending +Index: pcmciautils-018/src/lex_config.l +=================================================================== +--- pcmciautils-018.orig/src/lex_config.l ++++ pcmciautils-018/src/lex_config.l +@@ -22,6 +22,7 @@ + #include <unistd.h> + #include <string.h> + #include <syslog.h> ++#include <sys/types.h> + + #ifdef HAS_WORDEXP + #include <wordexp.h> |