commit: ed643a6f06fb29db40e4bd6f8f5b6c83ca78a058
parent 6e32f7e6e8ef27742c65a4b0cc8f7ffc3ac0da3f
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 14 Apr 2021 00:54:35 -0700
byacc: Update to 20210328
Diffstat:
5 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/pkg/byacc/.gitignore b/pkg/byacc/.gitignore
@@ -1,2 +1,2 @@
-/byacc-20210109.tgz
+/byacc-20210328.tgz
/src
diff --git a/pkg/byacc/config.h b/pkg/byacc/config.h
@@ -1,9 +1,9 @@
-/* #undef GCC_NORETURN */
-/* #undef GCC_PRINTF */
-/* #undef GCC_PRINTFLIKE */
-/* #undef GCC_SCANF */
-/* #undef GCC_SCANFLIKE */
-/* #undef GCC_UNUSED */
+#define GCC_NORETURN __attribute__((noreturn))
+#define GCC_PRINTF 1
+#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
+#define GCC_SCANF 1
+#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
+#define GCC_UNUSED __attribute__((unused))
#define HAVE_FCNTL_H 1
#define HAVE_GETOPT 1
#define HAVE_GETOPT_H 1
@@ -15,6 +15,7 @@
#define HAVE_MKSTEMP 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
+#define HAVE_STDNORETURN_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
@@ -26,6 +27,7 @@
/* #undef NEED_GETOPT_H */
/* #undef NO_LEAKS */
#define STDC_HEADERS 1
+#define STDC_NORETURN _Noreturn
#define SYSTEM_NAME "linux-musl"
/* #undef USE_DBMALLOC */
/* #undef USE_DMALLOC */
diff --git a/pkg/byacc/gen.lua b/pkg/byacc/gen.lua
@@ -1,7 +1,7 @@
cflags{
'-Wall', '-Wpedantic',
'-D HAVE_CONFIG_H',
- '-D YYPATCH=20210109',
+ '-D YYPATCH=20210328',
'-I $dir',
}
diff --git a/pkg/byacc/sha256 b/pkg/byacc/sha256
@@ -1 +1 @@
-9e7d7768587141e7784492615dfefc70a8e00410043b63901efedc1b50c19b97 byacc-20210109.tgz
+8b8f258eb22a4eae994ee374a712dd08e023cde1c39b373e8db8ba7806c50585 byacc-20210328.tgz
diff --git a/pkg/byacc/url b/pkg/byacc/url
@@ -1 +1 @@
-url = "https://invisible-mirror.net/archives/byacc/byacc-20210109.tgz"
+url = "https://invisible-mirror.net/archives/byacc/byacc-20210328.tgz"