logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: e05d3dd2eb4db8bc240b11067ebe9a48ab997645
parent 3c53b723a799c8d6c5bcbf0e82de1fa0f8d9f63d
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 16 Oct 2018 20:43:27 -0700

xz: Probe for size of size_t

Diffstat:

Mpkg/xz/config.h2+-
Mpkg/xz/gen.lua1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/xz/config.h b/pkg/xz/config.h @@ -107,7 +107,7 @@ #define PACKAGE_URL "https://tukaani.org/xz/" #define PACKAGE_VERSION "5.2.4" /* #undef PTHREAD_CREATE_JOINABLE */ -#define SIZEOF_SIZE_T 8 +/* probe SIZEOF_SIZE_T */ #define STDC_HEADERS 1 /* #undef TUKLIB_CPUCORES_CPUSET */ /* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ diff --git a/pkg/xz/gen.lua b/pkg/xz/gen.lua @@ -16,6 +16,7 @@ build('cat', '$outdir/config.h', { '$dir/config.h', '$builddir/probe/HAVE_IMMINTRIN_H', '$builddir/probe/HAVE__MM_MOVEMASK_EPI8', + '$builddir/probe/SIZEOF_SIZE_T', }) pkg.deps = {'$outdir/config.h'}