diff options
author | Ross Burton <ross.burton@intel.com> | 2015-09-25 14:35:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-28 12:00:23 +0100 |
commit | 1b146c597fb10bb5dae3cf35bccfc55e39c06a0e (patch) | |
tree | f998628dd36098613bd5979110387c80b2f3459f /meta/recipes-extended/byacc | |
parent | 5fd30897f5e623d558d0720b24322210a67bb615 (diff) | |
download | poky-1b146c597fb10bb5dae3cf35bccfc55e39c06a0e.tar.gz |
byacc: add missing patch header
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/byacc')
-rw-r--r-- | meta/recipes-extended/byacc/byacc/byacc-open.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/byacc/byacc/byacc-open.patch b/meta/recipes-extended/byacc/byacc/byacc-open.patch index 9160543400..005831130b 100644 --- a/meta/recipes-extended/byacc/byacc/byacc-open.patch +++ b/meta/recipes-extended/byacc/byacc/byacc-open.patch | |||
@@ -1,3 +1,15 @@ | |||
1 | Ubuntu defaults to passing _FORTIFY_SOURCE=2 which breaks byacc as it doesn't | ||
2 | pass enough arguments to open(): | ||
3 | |||
4 | inlined from 'open_tmpfile' at byacc-20150711/main.c:588:5: | ||
5 | /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: | ||
6 | open with O_CREAT in second argument needs 3 arguments | ||
7 | |||
8 | Add a mode of 0666 to fix this. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
12 | |||
1 | diff --git a/main.c b/main.c | 13 | diff --git a/main.c b/main.c |
2 | index 620ce3f..82071a4 100644 | 14 | index 620ce3f..82071a4 100644 |
3 | --- a/main.c | 15 | --- a/main.c |