summaryrefslogtreecommitdiffstats
path: root/package/libkcapi/0002-Do-not-compile-unused-functions.patch
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-05-02 22:04:57 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-03 22:05:27 +0200
commit8a7b707ea30befb16233f7a79fdd19880d621448 (patch)
tree165b803dc3ffe94a22cbcd18a25db5c379cfbf58 /package/libkcapi/0002-Do-not-compile-unused-functions.patch
parent09e669282aa40ff0826406d49ff2666432366996 (diff)
downloadbuildroot-8a7b707ea30befb16233f7a79fdd19880d621448.tar.gz
buildroot-8a7b707ea30befb16233f7a79fdd19880d621448.zip
libkcapi: bump to version 1.1.0
- Remove patches (already in version) - Add patch for getrandom (sent upstream: https://github.com/smuellerDD/libkcapi/pull/56) - Add hash for license files Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libkcapi/0002-Do-not-compile-unused-functions.patch')
-rw-r--r--package/libkcapi/0002-Do-not-compile-unused-functions.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/package/libkcapi/0002-Do-not-compile-unused-functions.patch b/package/libkcapi/0002-Do-not-compile-unused-functions.patch
deleted file mode 100644
index 97ab7fc50b..0000000000
--- a/package/libkcapi/0002-Do-not-compile-unused-functions.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 217b154a5f65d46064ceb69ce69664105e703a74 Mon Sep 17 00:00:00 2001
-From: Stephan Mueller <smueller@chronox.de>
-Date: Thu, 3 Aug 2017 17:52:48 +0200
-Subject: [PATCH] Do not compile unused functions
-
-GCC 7 now rightfully complains about unused functions.
-
-Signed-off-by: Stephan Mueller <smueller@chronox.de>
-
-[Upstream commit: https://github.com/smuellerDD/libkcapi/commit/217b154a5f65d46064ceb69ce69664105e703a74]
-Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
----
- apps/kcapi-rng.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/apps/kcapi-rng.c b/apps/kcapi-rng.c
-index df7decf..e15edf9 100644
---- a/apps/kcapi-rng.c
-+++ b/apps/kcapi-rng.c
-@@ -45,6 +45,7 @@ struct kcapi_handle *rng = NULL;
- unsigned int Verbosity = 0;
- char *rng_name = NULL;
-
-+#ifndef HAVE_GETRANDOM
- static int read_complete(int fd, uint8_t *buf, uint32_t buflen)
- {
- ssize_t ret;
-@@ -76,6 +77,7 @@ static int read_random(uint8_t *buf, uint32_t buflen)
- close(fd);
- return ret;
- }
-+#endif
-
- static int get_random(uint8_t *buf, uint32_t buflen)
- {
OpenPOWER on IntegriCloud