[oe-commits] Ross Burton : byacc: add missing patch header

git at git.openembedded.org git at git.openembedded.org
Sat Sep 26 17:14:29 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: afc0fbc59dd8e64dcc72825ad49183de6687f2a5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=afc0fbc59dd8e64dcc72825ad49183de6687f2a5

Author: Ross Burton <ross.burton at intel.com>
Date:   Fri Sep 25 14:35:43 2015 +0100

byacc: add missing patch header

---

 meta/recipes-extended/byacc/byacc/byacc-open.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/meta/recipes-extended/byacc/byacc/byacc-open.patch b/meta/recipes-extended/byacc/byacc/byacc-open.patch
index 9160543..0058311 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 at intel.com>
+
 diff --git a/main.c b/main.c
 index 620ce3f..82071a4 100644
 --- a/main.c



More information about the Openembedded-commits mailing list