diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2018-06-18 16:42:56 +0300 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-08-13 11:20:32 -0400 |
commit | 4df58585fc034482d5d16670479416aa86387750 (patch) | |
tree | 01396a0d85e5c34ff3a9a60254c90520fba179eb /recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch | |
parent | fdb477049cf9150f7b93d7f1954af15bd0ed3f97 (diff) | |
download | meta-selinux-4df58585fc034482d5d16670479416aa86387750.tar.gz |
libsemanage: refresh patches to remove fuzz
Recent versions of bitbake starting with sumo issue warnings if
patches are applied with fuzz (in the future these will be errors).
Regenerated patches using:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch')
-rw-r--r-- | recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch b/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch index faf8fc5..cf88150 100644 --- a/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch +++ b/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch | |||
@@ -1,12 +1,21 @@ | |||
1 | Subject: libselinux: drop flag: -Wno-unused-but-set-variable | 1 | From 3f65789f172003c499f24f00d73a42867fccd277 Mon Sep 17 00:00:00 2001 |
2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
3 | Date: Tue, 30 Apr 2013 23:15:57 -0400 | ||
4 | Subject: [PATCH] libselinux: drop flag: -Wno-unused-but-set-variable | ||
2 | 5 | ||
3 | Upstream status: inappropriate (older compilers only). | 6 | Upstream status: inappropriate (older compilers only). |
4 | 7 | ||
5 | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | 8 | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> |
6 | 9 | ||
7 | --- libsemanage-2.1.9.orig/src/Makefile | 10 | --- |
8 | +++ libsemanage-2.1.9/src/Makefile | 11 | src/Makefile | 2 +- |
9 | @@ -57,7 +57,7 @@ | 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
13 | |||
14 | diff --git a/src/Makefile b/src/Makefile | ||
15 | index fdb178f..d457208 100644 | ||
16 | --- a/src/Makefile | ||
17 | +++ b/src/Makefile | ||
18 | @@ -58,7 +58,7 @@ OBJS= $(patsubst %.c,%.o,$(SRCS)) conf-scan.o conf-parse.o | ||
10 | LOBJS= $(patsubst %.c,%.lo,$(SRCS)) conf-scan.lo conf-parse.lo | 19 | LOBJS= $(patsubst %.c,%.lo,$(SRCS)) conf-scan.lo conf-parse.lo |
11 | CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format-attribute | 20 | CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format-attribute |
12 | 21 | ||
@@ -14,4 +23,4 @@ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | |||
14 | +SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-shadow \ | 23 | +SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-shadow \ |
15 | -Wno-unused-parameter | 24 | -Wno-unused-parameter |
16 | 25 | ||
17 | override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE | 26 | override CFLAGS += -I../include -D_GNU_SOURCE |