summarylogtreecommitdiffstats
path: root/0002-Remove-redundant-demoextend-definition.patch
blob: f57606a41bcafa3f9ca2895da78505e70261b5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From bec768e37bb49d8f8c4dcbda49e746c2f6f4b41b Mon Sep 17 00:00:00 2001
From: Jordan Christiansen <xordspar0@gmail.com>
Date: Sun, 15 Mar 2020 16:55:33 -0500
Subject: [PATCH] Remove redundant demoextend definition

GCC 10 enables -fno-common by default, which causes the linker to fail when
there are multple definitions of a global variable.

See https://gcc.gnu.org/gcc-10/porting_to.html
---
 src/hexen/mn_menu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
index a3ff99980..b9ad45eea 100644
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -131,7 +131,6 @@ boolean MenuActive;
 int InfoType;
 int messageson = true;
 boolean mn_SuicideConsole;
-boolean demoextend; // from h2def.h
 
 // PRIVATE DATA DEFINITIONS ------------------------------------------------
 
-- 
2.26.2