ncurses/workaround-20191214.patch

17 lines
468 B
Diff

---
include/MKterm.h.awk.in | 3 +++
1 file changed, 3 insertions(+)
--- include/MKterm.h.awk.in
+++ include/MKterm.h.awk.in 2019-12-18 09:23:20.480600045 +0000
@@ -376,6 +376,9 @@ END {
print "/*"
print " * Debugging features."
print " */"
+ print "#ifndef GCC_NORETURN"
+ print "#define GCC_NORETURN /* nothing */"
+ print "#endif"
print "extern NCURSES_EXPORT(void) exit_terminfo(int) GCC_NORETURN;"
print ""
print "#ifdef __cplusplus"