summaryrefslogtreecommitdiff
path: root/games/prboom-plus/files/patch-src_doomstat.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-30 11:19:14 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-30 11:19:14 +0000
commit996d3c8bd3a98fdc01ecab9d83394d421c024ec3 (patch)
treeb51e7f3432b10db944764488dccc8e46b94fc9ef /games/prboom-plus/files/patch-src_doomstat.c
parentmultimedia/shotcut: update to 20.09.27 (diff)
Fix build with -fno-common
While here add dependencies reported as missing by stage-qa.
Notes
Notes: svn path=/head/; revision=550684
Diffstat (limited to 'games/prboom-plus/files/patch-src_doomstat.c')
-rw-r--r--games/prboom-plus/files/patch-src_doomstat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/prboom-plus/files/patch-src_doomstat.c b/games/prboom-plus/files/patch-src_doomstat.c
new file mode 100644
index 000000000000..4ec38f26edec
--- /dev/null
+++ b/games/prboom-plus/files/patch-src_doomstat.c
@@ -0,0 +1,11 @@
+--- src/doomstat.c.orig 2010-12-16 21:37:35 UTC
++++ src/doomstat.c
+@@ -57,7 +57,7 @@ GameExe_t game_exe;
+
+ // e6y
+ // it's required for demos recorded in "demo compatibility" mode by boom201 for example
+-int demover;
++extern int demover;
+
+ int comp[COMP_TOTAL], default_comp[COMP_TOTAL]; // killough 10/98
+