Add patch to fix build with -Werror
This commit is contained in:
parent
fe5c308575
commit
090bf239dd
@ -0,0 +1,25 @@
|
||||
From 53775cd61f8e4a538cf057b73d91f510ef11fbaa Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
|
||||
Date: Sat, 17 Feb 2018 10:54:22 +0100
|
||||
Subject: [PATCH] kcapi-hasher: Fix -Werror=implicit-fallthrough
|
||||
|
||||
---
|
||||
apps/kcapi-hasher.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/apps/kcapi-hasher.c b/apps/kcapi-hasher.c
|
||||
index bb4ac92..f7b056d 100644
|
||||
--- a/apps/kcapi-hasher.c
|
||||
+++ b/apps/kcapi-hasher.c
|
||||
@@ -758,10 +758,10 @@ int main(int argc, char *argv[])
|
||||
usage(argv[0]);
|
||||
ret = 0;
|
||||
goto out;
|
||||
- }
|
||||
case 7:
|
||||
bsd_style = 1;
|
||||
break;
|
||||
+ }
|
||||
break;
|
||||
|
||||
case 'v':
|
@ -80,7 +80,7 @@
|
||||
|
||||
Name: libkcapi
|
||||
Version: %{vmajor}.%{vminor}.%{vpatch}
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: User space interface to the Linux Kernel Crypto API
|
||||
|
||||
License: BSD or GPLv2
|
||||
@ -94,6 +94,7 @@ Patch2: %{giturl}/commit/63855e3e2414afbe232e5ea2e4bdfb03b786344a.patch#
|
||||
Patch3: %{giturl}/commit/b9bced05dae319c6a00c2adce8953d468404a95c.patch#/%{name}-1.0.3-autotools_full_path.patch
|
||||
Patch4: %{giturl}/commit/ba147c9cce460c29076968c9e9e1a3828c0e9143.patch#/%{name}-1.0.3-hasher_test_hmaccalc_path.patch
|
||||
Patch5: %{giturl}/commit/bc7c26efe5ab5c7644fac421b2fb6b1b687c4d0e.patch#/%{name}-1.0.3-test_invocation_fix_bash_coding_error.patch
|
||||
Patch6: %{giturl}/pull/37.patch#/%{name}-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch
|
||||
|
||||
BuildRequires: clang
|
||||
BuildRequires: coreutils
|
||||
@ -411,6 +412,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Feb 17 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-5
|
||||
- Add patch to fix build with -Werror
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org>
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user