mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
byacc: add missing patch header
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5fd30897f5
commit
1b146c597f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user