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 11:58:23 +0100 |
commit | 25f0c6db0c52fd34b1e719da69c1edc25c3d43d9 (patch) | |
tree | 68f7c215d27f253a712d0bbd8ccf5f5bd702b8b7 | |
parent | a026dbfa0ce4ee769ae2c714f27f4c4eaa4a0c73 (diff) | |
download | openembedded-core-25f0c6db0c52fd34b1e719da69c1edc25c3d43d9.tar.gz openembedded-core-25f0c6db0c52fd34b1e719da69c1edc25c3d43d9.tar.bz2 openembedded-core-25f0c6db0c52fd34b1e719da69c1edc25c3d43d9.zip |
byacc: add missing patch header
-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 @@ +Ubuntu defaults to passing _FORTIFY_SOURCE=2 which breaks byacc as it doesn't +pass enough arguments to open(): + + inlined from 'open_tmpfile' at byacc-20150711/main.c:588:5: + /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: + open with O_CREAT in second argument needs 3 arguments + +Add a mode of 0666 to fix this. + +Upstream-Status: Pending +Signed-off-by: Ross Burton <ross.burton@intel.com> + diff --git a/main.c b/main.c index 620ce3f..82071a4 100644 --- a/main.c |