Add implicit fallthrough patch for gcc 7
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
23bc8390ff
commit
710923ad92
25
0003-Document-implicit-fallthrough.patch
Normal file
25
0003-Document-implicit-fallthrough.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 4b9e7cf3e869de36daf2ea705b9efef55ae87ef8 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Jones <pjones@redhat.com>
|
||||
Date: Sat, 8 Jul 2017 16:31:18 -0400
|
||||
Subject: [PATCH] Document implicit fallthrough.
|
||||
|
||||
Signed-off-by: Peter Jones <pjones@redhat.com>
|
||||
---
|
||||
src/authvar.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/authvar.c b/src/authvar.c
|
||||
index ad659ca..03e0c47 100644
|
||||
--- a/src/authvar.c
|
||||
+++ b/src/authvar.c
|
||||
@@ -511,6 +511,7 @@ main(int argc, char *argv[])
|
||||
case IMPORT|SET:
|
||||
case IMPORT|SIGN|SET:
|
||||
fprintf(stderr, "authvar: not implemented\n");
|
||||
+ /* fallthrough. */
|
||||
case IMPORT|SIGN|EXPORT:
|
||||
default:
|
||||
fprintf(stderr, "authvar: invalid flags: ");
|
||||
--
|
||||
2.13.0
|
||||
|
@ -30,6 +30,7 @@ Source1: certs.tar.xz
|
||||
|
||||
Patch0001: 0001-cms-kill-generate_integer-it-doesn-t-build-on-i686-a.patch
|
||||
Patch0002: 0002-Fix-command-line-parsing.patch
|
||||
Patch0003: 0003-Document-implicit-fallthrough.patch
|
||||
|
||||
%description
|
||||
This package contains the pesign utility for signing UEFI binaries as
|
||||
|
Loading…
Reference in New Issue
Block a user