Control: tags -1 + patch Control: forwarded -1 https://github.com/tome2/tome2/pull/49
Hi, the attached patch fixes the FTBFS with GCC 10. Regards, Reiner
diff --git a/debian/patches/gcc10.patch b/debian/patches/gcc10.patch new file mode 100644 index 00000000..bf9fcf45 --- /dev/null +++ b/debian/patches/gcc10.patch @@ -0,0 +1,16 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Fix FTBFS with GCC 10 +Bug-Debian: https://bugs.debian.org/966065 +Forwarded: https://github.com/tome2/tome2/pull/49 + +--- a/src/init1.hpp ++++ b/src/init1.hpp +@@ -3,6 +3,8 @@ + #include "h-basic.hpp" + #include "dungeon_flag_set.hpp" + ++#include <cstdio> ++ + int color_char_to_attr(char c); + extern byte conv_color[16]; + errr init_player_info_txt(FILE *fp); diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..50fb8b62 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +gcc10.patch
signature.asc
Description: PGP signature