logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 7e13023282615285d4148b04653fa26ad70ad94a
parent 9101bb17ad7728880b41b9e5433354279bf24f45
Author: hovercats <hovercatswithlasereyes@protonmail.com>
Date:   Sat,  3 Feb 2024 13:42:53 +0100

nasm: 2.16.01

Diffstat:

Mpkg/nasm/.gitignore2+-
Mpkg/nasm/config.h70++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
Mpkg/nasm/gen.lua5++---
Mpkg/nasm/sha2562+-
Mpkg/nasm/url2+-
Mpkg/nasm/ver2+-
6 files changed, 62 insertions(+), 21 deletions(-)

diff --git a/pkg/nasm/.gitignore b/pkg/nasm/.gitignore @@ -1,2 +1,2 @@ -/nasm-2.15.05.tar.gz +/nasm-2.16.01.tar.gz /src diff --git a/pkg/nasm/config.h b/pkg/nasm/config.h @@ -8,7 +8,7 @@ /* #undef CFLAGS_FNO_OMIT_FRAME_POINTER */ /* #undef CFLAGS_FSANITIZE_ADDRESS */ /* #undef CFLAGS_FSANITIZE_UNDEFINED */ -/* #undef CFLAGS_FTRIVIAL_AUTO_VAR_INIT_ZERO */ +#define CFLAGS_FTRIVIAL_AUTO_VAR_INIT_ZERO 1 #define CFLAGS_FVISIBILITY_HIDDEN 1 #define CFLAGS_FWRAPV 1 /* #undef CFLAGS_GGDB3 */ @@ -33,7 +33,7 @@ #define CFLAGS_WERROR_MISSING_PROTOTYPES 1 #define CFLAGS_WERROR_POINTER_ARITH 1 #define CFLAGS_WERROR_RETURN_TYPE 1 -/* #undef CFLAGS_WERROR_STRICT_PROTOTYPES */ +#define CFLAGS_WERROR_STRICT_PROTOTYPES 1 #define CFLAGS_WERROR_TRIGRAPHS 1 /* #undef CFLAGS_WERROR_UNKNOWN_WARNING_OPTION */ #define CFLAGS_WERROR_VLA 1 @@ -103,8 +103,9 @@ #define HAVE_ISASCII 1 #define HAVE_ISCNTRL 1 /* #undef HAVE_MACHINE_ENDIAN_H */ -#define HAVE_MEMORY_H 1 #define HAVE_MEMPCPY 1 +/* #undef HAVE_MEMPSET */ +/* #undef HAVE_MINIX_CONFIG_H */ #define HAVE_MMAP 1 #define HAVE_PATHCONF 1 #define HAVE_REALPATH 1 @@ -114,6 +115,7 @@ #define HAVE_STDBOOL_H 1 #define HAVE_STDC_INLINE 1 #define HAVE_STDINT_H 1 +#define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDNORETURN_H 1 #define HAVE_STRCASECMP 1 @@ -140,6 +142,7 @@ #define HAVE_UINTPTR_T 1 #define HAVE_UNISTD_H 1 #define HAVE_VSNPRINTF 1 +#define HAVE_WCHAR_H 1 /* #undef HAVE__ACCESS */ /* #undef HAVE__BITSCANREVERSE */ /* #undef HAVE__BITSCANREVERSE64 */ @@ -180,41 +183,80 @@ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif +#ifndef _DARWIN_C_SOURCE +# define _DARWIN_C_SOURCE 1 +#endif +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# define _HPUX_ALT_XOPEN_SOCKET_API 1 +#endif +#ifndef _MINIX +/* # undef _MINIX */ +#endif +#ifndef _NETBSD_SOURCE +# define _NETBSD_SOURCE 1 +#endif +#ifndef _OPENBSD_SOURCE +# define _OPENBSD_SOURCE 1 +#endif +#ifndef _POSIX_SOURCE +/* # undef _POSIX_SOURCE */ +#endif +#ifndef _POSIX_1_SOURCE +/* # undef _POSIX_1_SOURCE */ +#endif #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 +#endif +#ifndef __STDC_WANT_LIB_EXT2__ +# define __STDC_WANT_LIB_EXT2__ 1 +#endif +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 +#endif #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 +#ifndef _XOPEN_SOURCE +/* # undef _XOPEN_SOURCE */ #endif /* #undef WORDS_BIGENDIAN */ #define WORDS_LITTLEENDIAN 1 -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif /* #undef _FILE_OFFSET_BITS */ /* #undef _LARGEFILE_SOURCE */ /* #undef _LARGE_FILES */ -/* #undef _MINIX */ -/* #undef _POSIX_1_SOURCE */ -/* #undef _POSIX_SOURCE */ /* #undef const */ #ifndef __cplusplus /* #undef inline */ #endif -#define restrict __restrict -#if defined __SUNPRO_CC && !defined __RESTRICT +#define restrict __restrict__ +#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ # define _Restrict # define __restrict__ #endif /* #undef size_t */ /* #undef snprintf */ -#define typeof __typeof__ +#define typeof __typeof /* #undef uintptr_t */ /* #undef vsnprintf */ #ifndef alloc_size_func2 diff --git a/pkg/nasm/gen.lua b/pkg/nasm/gen.lua @@ -22,7 +22,7 @@ lib('libnasm.a', [[ nasmlib/( ver.c alloc.c asprintf.c errfile.c - crc64.c md5c.c + crc32.c crc64.c md5c.c string.c nctype.c file.c mmap.c ilog2.c realpath.c path.c @@ -50,7 +50,6 @@ lib('libnasm.a', [[ stdscan.c strfunc.c tokhash.c segalloc.c - preproc-nop.c rdstrnum.c srcfile.c ) @@ -60,7 +59,7 @@ lib('libnasm.a', [[ nulldbg.c nullout.c outbin.c outaout.c outcoff.c outelf.c - outobj.c outas86.c outrdf2.c + outobj.c outas86.c outdbg.c outieee.c outmacho.c codeview.c ) diff --git a/pkg/nasm/sha256 b/pkg/nasm/sha256 @@ -1 +1 @@ -9182a118244b058651c576baa9d0366ee05983c4d4ae1d9ddd3236a9f2304997 nasm-2.15.05.tar.gz +d833bf0f5716e89dbcd345b7f545f25fe348c6e2ef16dbc293e1027bcd22d881 nasm-2.16.01.tar.gz diff --git a/pkg/nasm/url b/pkg/nasm/url @@ -1 +1 @@ -url = "http://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz" +url = "http://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.gz" diff --git a/pkg/nasm/ver b/pkg/nasm/ver @@ -1 +1 @@ -2.15.05 r0 +2.16.01 r0