backport a patch to fix -fno-common build https://github.com/chocolate-doom/chocolate-doom/commit/a8fd4b1f563d24d4296c3e8225c8404e2724d4c2.patch
--- /dev/null Sat Jan 30 16:04:08 2021 +++ games/chocolate-doom/patches/patch-src_hexen_mn_menu_c Sat Jan 30 15:59:47 2021 @@ -0,0 +1,16 @@ +$OpenBSD$ + +Remove redundant demoextend definition +a8fd4b1f563d24d4296c3e8225c8404e2724d4c2 + +Index: src/hexen/mn_menu.c +--- src/hexen/mn_menu.c.orig ++++ 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 ------------------------------------------------ +
