From 01d2201f4db092c81956ee51eba3ac3e212ceda5 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 2 Jul 2020 18:10:44 +0200 Subject: [PATCH 1/3] pkg/libb2: bump to 0.98.1 --- pkg/libb2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/libb2/Makefile b/pkg/libb2/Makefile index 4a4d2a98bb..775e0d1f99 100644 --- a/pkg/libb2/Makefile +++ b/pkg/libb2/Makefile @@ -1,6 +1,6 @@ PKG_NAME = libb2 PKG_URL = https://github.com/BLAKE2/libb2 -PKG_VERSION = 60ea749837362c226e8501718f505ab138e5c19d # v0.98 +PKG_VERSION = 2c5142f12a2cd52f3ee0a43e50a3a76f75badf85 # v0.98.1 PKG_LICENSE = CC0-1.0 include $(RIOTBASE)/pkg/pkg.mk From b1a05b8c89f299f4165f38be03d7f79045584e81 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 2 Jul 2020 18:12:12 +0200 Subject: [PATCH 2/3] pkg/libb2: remove useless define HAVE_ALIGNED_ACCESS_REQUIRED is not used anymore in libb2 --- pkg/libb2/include/libb2_config.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/libb2/include/libb2_config.h b/pkg/libb2/include/libb2_config.h index 025e093d68..6f00116c9c 100644 --- a/pkg/libb2/include/libb2_config.h +++ b/pkg/libb2/include/libb2_config.h @@ -15,10 +15,6 @@ extern "C" { #define NATIVE_LITTLE_ENDIAN #endif -#ifndef CPU_HAS_UNALIGNED_ACCESS -#define HAVE_ALIGNED_ACCESS_REQUIRED -#endif - #ifdef __cplusplus } #endif From c3fa38d9d6c595ba227869ce45953f0a9e8477b5 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 2 Jul 2020 18:38:10 +0200 Subject: [PATCH 3/3] pkg/libb2: blacklist 8bit architectures --- pkg/libb2/Makefile.dep | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pkg/libb2/Makefile.dep diff --git a/pkg/libb2/Makefile.dep b/pkg/libb2/Makefile.dep new file mode 100644 index 0000000000..ce65b9fe18 --- /dev/null +++ b/pkg/libb2/Makefile.dep @@ -0,0 +1,2 @@ +# 8bit architectures are not supported by libb2. +FEATURES_BLACKLIST += arch_8bit