mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-crypt/libb2-0.98.1-r3: fix compilation on Solaris
This may have broken after an OpenIndiana update, or compiler update. Make sure memset_s can be found both during configure and compilation. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user