File fix-multiple-definitions.patch of Package avp
diff -Nur avp-20170505/src/opengl.h new/src/opengl.h
--- avp-20170505/src/opengl.h 2017-01-30 05:19:55.000000000 +0100
+++ new/src/opengl.h 2021-04-16 04:20:34.422656941 +0200
@@ -14,6 +14,8 @@
#define OPENGL_COLOR0_ATTRIB_BITINDEX (1 << OPENGL_COLOR0_ATTRIB_INDEX)
#define OPENGL_COLOR1_ATTRIB_BITINDEX (1 << OPENGL_COLOR1_ATTRIB_INDEX)
+extern int WaterFallBase;
+
enum AVP_SHADER_PROGRAM {
AVP_SHADER_PROGRAM_DEFAULT,
AVP_SHADER_PROGRAM_NO_SECONDARY,
diff -Nur avp-20170505/src/stubs.c new/src/stubs.c
--- avp-20170505/src/stubs.c 2017-01-30 05:19:55.000000000 +0100
+++ new/src/stubs.c 2021-04-16 04:20:52.914822077 +0200
@@ -109,7 +109,6 @@
int NumberOfLandscapePolygons;
int FMVParticleColour;
int WireFrameMode;
-int WaterFallBase;
void InitDrawTest()
{