logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 99756847e55dcac71e3adce5a76926d207329a74
parent ee6d5462df39ed26e10626d81cceb64fa45d4155
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 30 Aug 2018 13:50:31 -0700

libffi: Don't use config-posix.h

Diffstat:

Mpkg/libffi/fficonfig.h20++++++++++++++++----
Mpkg/libffi/gen.lua1-
2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/pkg/libffi/fficonfig.h b/pkg/libffi/fficonfig.h @@ -1,9 +1,7 @@ -#include <config-posix.h> - /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* #undef CRAY_STACKSEG_END */ /* #undef C_ALLOCA */ -#define EH_FRAME_FLAGS "aw" +#define EH_FRAME_FLAGS "a" /* #undef FFI_DEBUG */ /* #undef FFI_EXEC_TRAMPOLINE_TABLE */ /* #undef FFI_MMAP_EXEC_EMUTRAMP_PAX */ @@ -19,16 +17,29 @@ #define HAVE_AS_STRING_PSEUDO_OP 1 #define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1 #define HAVE_AS_X86_PCREL 1 +#define HAVE_DLFCN_H 1 #define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1 +#define HAVE_INTTYPES_H 1 #define HAVE_LONG_DOUBLE 1 /* #undef HAVE_LONG_DOUBLE_VARIANT */ +#define HAVE_MEMCPY 1 #define HAVE_MEMORY_H 1 #define HAVE_MKOSTEMP 1 +#define HAVE_MMAP 1 #define HAVE_MMAP_ANON 1 #define HAVE_MMAP_DEV_ZERO 1 #define HAVE_MMAP_FILE 1 -/* #undef HAVE_RO_EH_FRAME */ +#define HAVE_RO_EH_FRAME 1 +#define HAVE_STDINT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +#define HAVE_SYS_MMAN_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_UNISTD_H 1 #define LT_OBJDIR ".libs/" +/* #undef NO_MINUS_C_MINUS_O */ #define PACKAGE "libffi" #define PACKAGE_BUGREPORT "http://github.com/atgreen/libffi/issues" #define PACKAGE_NAME "libffi" @@ -40,6 +51,7 @@ #define SIZEOF_LONG_DOUBLE 16 #define SIZEOF_SIZE_T 8 /* #undef STACK_DIRECTION */ +#define STDC_HEADERS 1 /* #undef SYMBOL_UNDERSCORE */ /* #undef USING_PURIFY */ #define VERSION "3.2.1" diff --git a/pkg/libffi/gen.lua b/pkg/libffi/gen.lua @@ -1,5 +1,4 @@ cflags{ - '-I include', '-I $dir', '-I $outdir/include', '-I $srcdir/include',