libkcapi: update to 1.2.0
PATCH 1/1 libkcapi: update to 1.2.0
Removed patches were upstreamed.
License checksum changed due to modified copyright years (see @8397f0f7c45264a).
Signed-off-by Oleksandr Kravchuk <[email protected]>
---
...uiltin_bswap32-on-Clang-if-supported.patch | 39 ----------
.../0001-kcapi-kdf-Move-code-to-fix.patch | 73 -------------------
.../{libkcapi_git.bb => libkcapi_1.2.0.bb} | 11 +--
3 files changed, 3 insertions(+), 120 deletions(-)
delete mode 100644 meta-oe/recipes-crypto/libkcapi/libkcapi/0001-Use-__builtin_bswap32-on-Clang-if-supported.patch
delete mode 100644 meta-oe/recipes-crypto/libkcapi/libkcapi/0001-kcapi-kdf-Move-code-to-fix.patch
rename meta-oe/recipes-crypto/libkcapi/{libkcapi_git.bb => libkcapi_1.2.0.bb} (72%)meta-oe/recipes-crypto/libkcapi/libkcapi/0001-Use-__builtin_bswap32-on-Clang-if-supported.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 7b5dd67fee58f9f54c8a676abe2131776c0a3c52 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 20 Nov 2019 13:41:39 -0800 -Subject: [PATCH] Use __builtin_bswap32 on Clang if supported - -clang pretends to be gcc 4.2.1 so GCC_VERSION macro will decide that -__builtin_bswap32 is not supported on clang, whereas in reality it might -so its better to add a check for enquiring clang if it supports -__builtin_bswap32 or not - -Upstream-Status: Submitted [https://github.com/smuellerDD/libkcapi/pull/83] -Signed-off-by: Khem Raj <[email protected]> ---- - lib/kcapi-kdf.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/lib/kcapi-kdf.c b/lib/kcapi-kdf.c -index 9e53a0b..f32fbe9 100644 ---- a/lib/kcapi-kdf.c -+++ b/lib/kcapi-kdf.c -@@ -54,10 +54,14 @@ - #include "kcapi.h" - #include "internal.h" - -+#ifndef __has_builtin -+# define __has_builtin(x) 0 -+#endif -+ - #define GCC_VERSION (__GNUC__ * 10000 \ - + __GNUC_MINOR__ * 100 \ - + __GNUC_PATCHLEVEL__) --#if GCC_VERSION >= 40400 -+#if GCC_VERSION >= 40400 || (defined(__clang__) && __has_builtin(__builtin_bswap32)) - # define __HAVE_BUILTIN_BSWAP32__ - #endif - --- -2.24.0 -
meta-oe/recipes-crypto/libkcapi/libkcapi/0001-kcapi-kdf-Move-code-to-fix.patch deleted +0 -73
73 lines not on this page · raw message
meta-oe/recipes-crypto/libkcapi/libkcapi_1.2.0.bb renamed from meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb +3 -8
@@ -1,18 +1,13 @@ SUMMARY = "Linux Kernel Crypto API User Space Interface Library" HOMEPAGE = "http://www.chronox.de/libkcapi.html" LICENSE = "BSD | GPL-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=14d5a68b28755c04ebdba226e888b157" +LIC_FILES_CHKSUM = "file://COPYING;md5=c78be93ed8d1637f2a3f4a83ff9d5f54" DEPENDS = "libtool" S = "${WORKDIR}/git" -SRCREV = "5649050d201856bf06c8738b5d2aa1710c86ac2f" -PV = "1.1.5" -SRC_URI = " \ - git://github.com/smuellerDD/libkcapi.git \ - file://0001-kcapi-kdf-Move-code-to-fix.patch \ - file://0001-Use-__builtin_bswap32-on-Clang-if-supported.patch \ -" +SRCREV = "8397f0f7c45264a3b9aff5a1f9119df25eeb4c60" +SRC_URI = "git://github.com/smuellerDD/libkcapi.git" inherit autotools
Signature · 1 line
2.25.1