summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2018-06-18 16:42:56 +0300
committerJoe MacDonald <joe_macdonald@mentor.com>2018-08-13 11:20:32 -0400
commit4df58585fc034482d5d16670479416aa86387750 (patch)
tree01396a0d85e5c34ff3a9a60254c90520fba179eb /recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch
parentfdb477049cf9150f7b93d7f1954af15bd0ed3f97 (diff)
downloadmeta-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.patch19
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 @@
1Subject: libselinux: drop flag: -Wno-unused-but-set-variable 1From 3f65789f172003c499f24f00d73a42867fccd277 Mon Sep 17 00:00:00 2001
2From: Randy MacLeod <Randy.MacLeod@windriver.com>
3Date: Tue, 30 Apr 2013 23:15:57 -0400
4Subject: [PATCH] libselinux: drop flag: -Wno-unused-but-set-variable
2 5
3Upstream status: inappropriate (older compilers only). 6Upstream status: inappropriate (older compilers only).
4 7
5Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> 8Signed-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
14diff --git a/src/Makefile b/src/Makefile
15index 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