commit: 45bed1bd9c257f2a7718d50e77d227433e9fe549
parent 4b02639f2d50d8c137750f603abf1390c3477ca2
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 4 Jul 2020 14:15:18 -0700
nasm: Update to 2.15.02
Diffstat:
5 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/pkg/nasm/.gitignore b/pkg/nasm/.gitignore
@@ -1,2 +1,2 @@
-/nasm-2.15.01.tar.gz
+/nasm-2.15.02.tar.gz
/src
diff --git a/pkg/nasm/config.h b/pkg/nasm/config.h
@@ -18,6 +18,8 @@
#define CFLAGS_W 1
#define CFLAGS_WALL 1
#define CFLAGS_WC90_C99_COMPAT 1
+/* #undef CFLAGS_WC99_COMPAT */
+/* #undef CFLAGS_WC99_EXTENSIONS */
/* #undef CFLAGS_WERROR */
#define CFLAGS_WERROR_ATTRIBUTES 1
#define CFLAGS_WERROR_COMMENT 1
@@ -66,6 +68,7 @@
#define HAVE_FUNC_ATTRIBUTE_PURE 1
#define HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL 1
#define HAVE_FUNC_ATTRIBUTE_SENTINEL 1
+#define HAVE_FUNC_ATTRIBUTE_UNUSED 1
#define HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE 1
/* #undef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE */
#define HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT 1
@@ -76,6 +79,7 @@
/* #undef HAVE_FUNC_PTR_ATTRIBUTE_PURE */
#define HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL 1
#define HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL 1
+#define HAVE_FUNC_PTR_ATTRIBUTE_UNUSED 1
#define HAVE_GETGID 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETRLIMIT 1
@@ -291,6 +295,20 @@
# define unlikely_func_ptr
# endif
#endif
+#ifndef unused_func
+# ifdef HAVE_FUNC_ATTRIBUTE_UNUSED
+# define unused_func __attribute__((unused))
+# else
+# define unused_func
+# endif
+#endif
+#ifndef unused_func_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED
+# define unused_func_ptr __attribute__((unused))
+# else
+# define unused_func_ptr
+# endif
+#endif
#ifndef never_null
# ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
# define never_null __attribute__((returns_nonnull))
diff --git a/pkg/nasm/sha256 b/pkg/nasm/sha256
@@ -1 +1 @@
-d98c3d0bf8aea524db0a63d8e93b241adcf94f6fb4cb3446fbc95ebd4fa430c3 nasm-2.15.01.tar.gz
+ba04bc6f03af6a890298697b26a4b183569bb65e6f9665bbc4ca69c138d0f643 nasm-2.15.02.tar.gz
diff --git a/pkg/nasm/url b/pkg/nasm/url
@@ -1 +1 @@
-url = "http://www.nasm.us/pub/nasm/releasebuilds/2.15.01/nasm-2.15.01.tar.gz"
+url = "http://www.nasm.us/pub/nasm/releasebuilds/2.15.02/nasm-2.15.02.tar.gz"
diff --git a/pkg/nasm/ver b/pkg/nasm/ver
@@ -1 +1 @@
-2.15.01 r0
+2.15.02 r0