From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-devel/smatch/files/smatch-1.57-restrict.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sys-devel/smatch/files/smatch-1.57-restrict.patch (limited to 'sys-devel/smatch/files') diff --git a/sys-devel/smatch/files/smatch-1.57-restrict.patch b/sys-devel/smatch/files/smatch-1.57-restrict.patch new file mode 100644 index 000000000000..2f0dc98d496a --- /dev/null +++ b/sys-devel/smatch/files/smatch-1.57-restrict.patch @@ -0,0 +1,14 @@ +send upstream already + +diff --git a/parse.c b/parse.c +index 5dd9a06..bf5894d 100644 +--- a/parse.c ++++ b/parse.c +@@ -419,6 +419,7 @@ static struct init_keyword { + /* Ignored for now.. */ + { "restrict", NS_TYPEDEF, .op = &restrict_op}, + { "__restrict", NS_TYPEDEF, .op = &restrict_op}, ++ { "__restrict__", NS_TYPEDEF, .op = &restrict_op}, + + /* Storage class */ + { "auto", NS_TYPEDEF, .op = &auto_op }, -- cgit v1.2.3