0001-Remove-redundant-demoextend-definition.patch 997 B

1234567891011121314151617181920212223242526272829
  1. From a8fd4b1f563d24d4296c3e8225c8404e2724d4c2 Mon Sep 17 00:00:00 2001
  2. From: Jordan Christiansen <xordspar0@gmail.com>
  3. Date: Sun, 15 Mar 2020 16:55:33 -0500
  4. Subject: [PATCH] Remove redundant demoextend definition
  5. GCC 10 enables -fno-common by default, which causes the linker to fail when
  6. there are multple definitions of a global variable.
  7. See https://gcc.gnu.org/gcc-10/porting_to.html
  8. [Retrieved from:
  9. https://github.com/chocolate-doom/chocolate-doom/commit/a8fd4b1f563d24d4296c3e8225c8404e2724d4c2]
  10. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  11. ---
  12. src/hexen/mn_menu.c | 1 -
  13. 1 file changed, 1 deletion(-)
  14. diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
  15. index 059f45b3e..a97b7fcd1 100644
  16. --- a/src/hexen/mn_menu.c
  17. +++ b/src/hexen/mn_menu.c
  18. @@ -131,7 +131,6 @@ boolean MenuActive;
  19. int InfoType;
  20. int messageson = true;
  21. boolean mn_SuicideConsole;
  22. -boolean demoextend; // from h2def.h
  23. // PRIVATE DATA DEFINITIONS ------------------------------------------------