diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2018-06-18 16:42:55 +0300 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-08-13 11:20:32 -0400 |
commit | fdb477049cf9150f7b93d7f1954af15bd0ed3f97 (patch) | |
tree | a98376d0808ba33cf9e6bbdfcc6f533a68e6a7d0 /recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch | |
parent | 0b59889548f12f85d76a763abb9ccb2da4d6f7d3 (diff) | |
download | meta-selinux-fdb477049cf9150f7b93d7f1954af15bd0ed3f97.tar.gz |
libselinux: refresh patches to remove fuzz
Recent versions of bitbake starting with sumo issue a warning if patches are
applied with any fuzz (in the future it will be an errer).
Patches were regenerated 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/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch')
-rw-r--r-- | recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch b/recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch index 9deb67d..d58e4eb 100644 --- a/recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch +++ b/recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch | |||
@@ -1,17 +1,26 @@ | |||
1 | Subject: libselinux: drop flag: -Wno-unused-but-set-variable | 1 | From 865b8c40b331235ce2c9df1fcbbb3876c9b79338 Mon Sep 17 00:00:00 2001 |
2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
3 | Date: Tue, 30 Apr 2013 17:28:34 -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 | --- libselinux-2.1.12.orig/src/Makefile | 10 | --- |
8 | +++ libselinux-2.1.12/src/Makefile | 11 | src/Makefile | 2 +- |
9 | @@ -79,7 +79,7 @@ | 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
13 | |||
14 | diff --git a/src/Makefile b/src/Makefile | ||
15 | index 2408fae..a89c0f7 100644 | ||
16 | --- a/src/Makefile | ||
17 | +++ b/src/Makefile | ||
18 | @@ -96,7 +96,7 @@ PCRE_LDLIBS ?= -lpcre | ||
10 | 19 | ||
11 | override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(EMFLAGS) | 20 | override CFLAGS += -I../include -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS) |
12 | 21 | ||
13 | -SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \ | 22 | -SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \ |
14 | +SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-parameter \ | 23 | +SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-parameter \ |
15 | -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations | 24 | -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations |
16 | 25 | ||
17 | RANLIB=ranlib | 26 | RANLIB ?= ranlib |