diff options
| author | Michael Forney <mforney@mforney.org> | 2021-04-29 12:46:26 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-05-01 01:48:08 -0700 |
| commit | e5b9ffd458933b9f68a6609b96d308192b2dbd86 (patch) | |
| tree | 8795840b9bfbba8a5622f971236392433151e8c0 /pkg/elftoolchain/patch/0001-Prevent-empty-top-level-declarations.patch | |
| parent | 7a3b81ed5f3d4707f0cdacdc01d0c90816e4be30 (diff) | |
elftoolchain: Update to latest git
Diffstat (limited to 'pkg/elftoolchain/patch/0001-Prevent-empty-top-level-declarations.patch')
| -rw-r--r-- | pkg/elftoolchain/patch/0001-Prevent-empty-top-level-declarations.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/elftoolchain/patch/0001-Prevent-empty-top-level-declarations.patch b/pkg/elftoolchain/patch/0001-Prevent-empty-top-level-declarations.patch new file mode 100644 index 00000000..52758a9a --- /dev/null +++ b/pkg/elftoolchain/patch/0001-Prevent-empty-top-level-declarations.patch @@ -0,0 +1,25 @@ +From 1f3cf2b7c4232f82ae37a62bcccccaa1398d834b Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Tue, 2 Jul 2019 23:49:18 -0700 +Subject: [PATCH] Prevent empty top-level declarations + +--- + common/_elftc.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common/_elftc.h b/common/_elftc.h +index 5c4cf610..8c391fb5 100644 +--- a/common/_elftc.h ++++ b/common/_elftc.h +@@ -305,7 +305,7 @@ struct name { \ + #if defined(__GNUC__) + #define ELFTC_VCSID(ID) __asm__(".ident\t\"" ID "\"") + #else +-#define ELFTC_VCSID(ID) /**/ ++#define ELFTC_VCSID(ID) _Static_assert(1, "") + #endif + + #endif +-- +2.31.1 + |
