From bf9a2f060d565e0d1e51c3a02b6818192429cafc Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 29 Jul 2024 07:12:19 +0000 Subject: [PATCH] app-crypt/libb2: Sync with Gentoo It's from Gentoo commit 8bda632b707207572f7e2b2ba28dac4dfa8dec38. --- .../portage-stable/app-crypt/libb2/libb2-0.98.1-r3.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/libb2/libb2-0.98.1-r3.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/libb2/libb2-0.98.1-r3.ebuild index f810cc600e..0137d18d8f 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/libb2/libb2-0.98.1-r3.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/libb2/libb2-0.98.1-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools multilib-minimal toolchain-funcs +inherit autotools multilib-minimal toolchain-funcs flag-o-matic DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp" HOMEPAGE="https://github.com/BLAKE2/libb2" @@ -40,6 +40,8 @@ src_prepare() { sed -i -e 's/ == / = /' configure.ac || die # https://github.com/BLAKE2/libb2/pull/28 echo 'libb2_la_LDFLAGS = -no-undefined' >> src/Makefile.am || die + # make memset_s available + [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__STDC_WANT_LIB_EXT1__=1 eautoreconf # upstream doesn't make releases }