logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 85b2ffe5af809739179eae0061caddc1197759e9
parent 224b5fdbf9659815321b9bd94de7839d500dd760
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 22 Oct 2017 20:46:08 -0700

xz: Don't use config-posix.h

Diffstat:

Mpkg/xz/config.h26++++++++++++++++++++++++--
Mpkg/xz/gen.lua1-
2 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/pkg/xz/config.h b/pkg/xz/config.h @@ -1,5 +1,3 @@ -#include <config-posix.h> - /* #undef AC_APPLE_UNIVERSAL_BUILD */ #define ASSUME_RAM 128 /* #undef ENABLE_NLS */ @@ -15,6 +13,7 @@ #define HAVE_CHECK_CRC32 1 #define HAVE_CHECK_CRC64 1 #define HAVE_CHECK_SHA256 1 +#define HAVE_CLOCK_GETTIME 1 /* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ /* #undef HAVE_DCGETTEXT */ #define HAVE_DECL_CLOCK_MONOTONIC 1 @@ -29,6 +28,7 @@ #define HAVE_DECODER_POWERPC 1 #define HAVE_DECODER_SPARC 1 #define HAVE_DECODER_X86 1 +#define HAVE_DLFCN_H 1 #define HAVE_ENCODERS 1 #define HAVE_ENCODER_ARM 1 #define HAVE_ENCODER_ARMTHUMB 1 @@ -39,12 +39,18 @@ #define HAVE_ENCODER_POWERPC 1 #define HAVE_ENCODER_SPARC 1 #define HAVE_ENCODER_X86 1 +#define HAVE_FCNTL_H 1 +#define HAVE_FUTIMENS 1 /* #undef HAVE_FUTIMES */ /* #undef HAVE_FUTIMESAT */ #define HAVE_GETOPT_H 1 #define HAVE_GETOPT_LONG 1 /* #undef HAVE_GETTEXT */ +#define HAVE_ICONV 1 #define HAVE_IMMINTRIN_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_MBRTOWC 1 #define HAVE_MEMORY_H 1 #define HAVE_MF_BT2 1 #define HAVE_MF_BT3 1 @@ -52,6 +58,8 @@ #define HAVE_MF_HC3 1 #define HAVE_MF_HC4 1 #define HAVE_OPTRESET 1 +#define HAVE_POSIX_FADVISE 1 +#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 #define HAVE_PTHREAD_PRIO_INHERIT 1 /* #undef HAVE_SHA256INIT */ /* #undef HAVE_SHA256_CTX */ @@ -60,6 +68,11 @@ /* #undef HAVE_SHA2_CTX */ /* #undef HAVE_SHA2_H */ /* #undef HAVE_SMALL */ +#define HAVE_STDBOOL_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ @@ -69,7 +82,15 @@ /* #undef HAVE_SYS_CAPSICUM_H */ /* #undef HAVE_SYS_ENDIAN_H */ #define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_UINTPTR_T 1 +#define HAVE_UNISTD_H 1 +/* #undef HAVE_UTIME */ +/* #undef HAVE_UTIMES */ #define HAVE_VISIBILITY 1 +#define HAVE_WCWIDTH 1 #define HAVE__BOOL 1 /* #undef HAVE__FUTIME */ #define HAVE__MM_MOVEMASK_EPI8 1 @@ -87,6 +108,7 @@ #define PACKAGE_VERSION "5.2.3" /* #undef PTHREAD_CREATE_JOINABLE */ #define SIZEOF_SIZE_T 8 +#define STDC_HEADERS 1 /* #undef TUKLIB_CPUCORES_CPUSET */ /* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ #define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1 diff --git a/pkg/xz/gen.lua b/pkg/xz/gen.lua @@ -10,7 +10,6 @@ cflags{ '-I $srcdir/src/liblzma/lzma', '-I $srcdir/src/liblzma/rangecoder', '-I $srcdir/src/liblzma/simple', - '-I include', } lib('liblzma.a', [[src/(