master hovercats/oakiss / pkg / elftoolchain / patch / 0001-Prevent-empty-top-level-declarations.patch
 1From 1f3cf2b7c4232f82ae37a62bcccccaa1398d834b Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Tue, 2 Jul 2019 23:49:18 -0700
 4Subject: [PATCH] Prevent empty top-level declarations
 5
 6---
 7 common/_elftc.h | 2 +-
 8 1 file changed, 1 insertion(+), 1 deletion(-)
 9
10diff --git a/common/_elftc.h b/common/_elftc.h
11index 5c4cf610..8c391fb5 100644
12--- a/common/_elftc.h
13+++ b/common/_elftc.h
14@@ -305,7 +305,7 @@ struct name {							\
15 #if defined(__GNUC__)
16 #define	ELFTC_VCSID(ID)		__asm__(".ident\t\"" ID "\"")
17 #else
18-#define	ELFTC_VCSID(ID)		/**/
19+#define	ELFTC_VCSID(ID)		_Static_assert(1, "")
20 #endif
21 
22 #endif
23-- 
242.31.1
25