commit: 3fc26fe988e254e567d128c1cdb581b0fe4dff13
parent 9dd8d69c1b5ebfdec24c958c7bb985cf13ca66a3
Author: Michael Forney <mforney@mforney.org>
Date: Mon, 3 Aug 2020 23:35:29 -0700
nasm: Update to 2.15.03
Diffstat:
4 files changed, 30 insertions(+), 23 deletions(-)
diff --git a/pkg/nasm/.gitignore b/pkg/nasm/.gitignore
@@ -1,2 +1,2 @@
-/nasm-2.15.02.tar.gz
+/nasm-2.15.03.tar.gz
/src
diff --git a/pkg/nasm/config.h b/pkg/nasm/config.h
@@ -8,12 +8,16 @@
/* #undef CFLAGS_FNO_OMIT_FRAME_POINTER */
/* #undef CFLAGS_FSANITIZE_ADDRESS */
/* #undef CFLAGS_FSANITIZE_UNDEFINED */
+/* #undef CFLAGS_FTRIVIAL_AUTO_VAR_INIT_ZERO */
#define CFLAGS_FVISIBILITY_HIDDEN 1
#define CFLAGS_FWRAPV 1
/* #undef CFLAGS_GGDB3 */
/* #undef CFLAGS_O0 */
#define CFLAGS_PEDANTIC 1
/* #undef CFLAGS_PG */
+/* #undef CFLAGS_STD_C11 */
+#define CFLAGS_STD_C17 1
+/* #undef CFLAGS_STD_C99 */
#define CFLAGS_U_STRICT_ANSI 1
#define CFLAGS_W 1
#define CFLAGS_WALL 1
@@ -100,6 +104,7 @@
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_STAT 1
+#define HAVE_STDARG_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDC_INLINE 1
#define HAVE_STDINT_H 1
@@ -125,6 +130,7 @@
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
/* #undef HAVE_S_ISREG */
+#define HAVE_TYPEOF 1
#define HAVE_UINTPTR_T 1
#define HAVE_UNISTD_H 1
#define HAVE_VSNPRINTF 1
@@ -141,9 +147,7 @@
/* #undef HAVE__FSEEKI64 */
/* #undef HAVE__FSTATI64 */
/* #undef HAVE__FULLPATH */
-/* #undef HAVE__SNPRINTF */
/* #undef HAVE__STATI64 */
-/* #undef HAVE__VSNPRINTF */
/* #undef HAVE___BSWAP_16 */
/* #undef HAVE___BSWAP_32 */
/* #undef HAVE___BSWAP_64 */
@@ -203,12 +207,15 @@
# define __restrict__
#endif
/* #undef size_t */
+/* #undef snprintf */
+#define typeof __typeof__
/* #undef uintptr_t */
-#ifndef noreturn_func
-# ifdef HAVE_FUNC_ATTRIBUTE_NORETURN
-# define noreturn_func __attribute__((noreturn))
+/* #undef vsnprintf */
+#ifndef alloc_size_func2
+# ifdef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE
+# define alloc_size_func2(x1,x2) __attribute__((alloc_size(x1,x2)))
# else
-# define noreturn_func
+# define alloc_size_func2(x1,x2)
# endif
#endif
#ifndef alloc_size_func2_ptr
@@ -274,6 +281,13 @@
# define pure_func_ptr
# endif
#endif
+#ifndef noreturn_func
+# ifdef HAVE_FUNC_ATTRIBUTE_NORETURN
+# define noreturn_func __attribute__((noreturn))
+# else
+# define noreturn_func
+# endif
+#endif
#ifndef unlikely_func
# ifdef HAVE_FUNC_ATTRIBUTE_COLD
# define unlikely_func __attribute__((cold))
@@ -281,13 +295,6 @@
# define unlikely_func
# endif
#endif
-#ifndef noreturn_func_ptr
-# ifdef HAVE_FUNC_PTR_ATTRIBUTE_NORETURN
-# define noreturn_func_ptr __attribute__((noreturn))
-# else
-# define noreturn_func_ptr
-# endif
-#endif
#ifndef unlikely_func_ptr
# ifdef HAVE_FUNC_PTR_ATTRIBUTE_COLD
# define unlikely_func_ptr __attribute__((cold))
@@ -309,6 +316,13 @@
# define unused_func_ptr
# endif
#endif
+#ifndef noreturn_func_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_NORETURN
+# define noreturn_func_ptr __attribute__((noreturn))
+# else
+# define noreturn_func_ptr
+# endif
+#endif
#ifndef never_null
# ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
# define never_null __attribute__((returns_nonnull))
@@ -351,10 +365,3 @@
# define alloc_size_func1_ptr(x1)
# endif
#endif
-#ifndef alloc_size_func2
-# ifdef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE
-# define alloc_size_func2(x1,x2) __attribute__((alloc_size(x1,x2)))
-# else
-# define alloc_size_func2(x1,x2)
-# endif
-#endif
diff --git a/pkg/nasm/sha256 b/pkg/nasm/sha256
@@ -1 +1 @@
-ba04bc6f03af6a890298697b26a4b183569bb65e6f9665bbc4ca69c138d0f643 nasm-2.15.02.tar.gz
+450d98ce85d1e01fa19c0f60ecdc55b0a17301100d2438803836f84df803fa0d nasm-2.15.03.tar.gz
diff --git a/pkg/nasm/url b/pkg/nasm/url
@@ -1 +1 @@
-url = "http://www.nasm.us/pub/nasm/releasebuilds/2.15.02/nasm-2.15.02.tar.gz"
+url = "http://www.nasm.us/pub/nasm/releasebuilds/2.15.03/nasm-2.15.03.tar.gz"