summaryrefslogtreecommitdiff
path: root/games/prboom-plus/files/patch-src_gl__light.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_gl__light.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_gl__light.c')
-rw-r--r--games/prboom-plus/files/patch-src_gl__light.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/prboom-plus/files/patch-src_gl__light.c b/games/prboom-plus/files/patch-src_gl__light.c
new file mode 100644
index 000000000000..3a098613e7ee
--- /dev/null
+++ b/games/prboom-plus/files/patch-src_gl__light.c
@@ -0,0 +1,11 @@
+--- src/gl_light.c.orig 2011-08-21 10:39:08 UTC
++++ src/gl_light.c
+@@ -76,6 +76,8 @@ static float lighttable_glboom[5][256];
+ static float lighttable_gzdoom[256];
+ static float lighttable_fogbased[256];
+
++gld_Calc2DLightLevel_f gld_Calc2DLightLevel;
++
+ static void gld_InitLightTable_glboom(void);
+ static void gld_InitLightTable_gzdoom(void);
+ static void gld_InitLightTable_fogbased(void);