alienarena:rebuild
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/source/game/p_client.c.old 2016-01-18 20:13:25.147714704 +0100
|
||||||
|
+++ b/source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100
|
||||||
|
@@ -2123,7 +2123,7 @@
|
||||||
|
#else
|
||||||
|
ent->ctype = 0; //alien is default
|
||||||
|
sprintf(modelpath, "players/%s/human", playermodel);
|
||||||
|
- sprintf(ent->charModel, playermodel);
|
||||||
|
+ sprintf(ent->charModel, "%s", playermodel);
|
||||||
|
Q2_FindFile (modelpath, &file);
|
||||||
|
if(file)
|
||||||
|
{
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
From: Markus Koschany <apo@debian.org>
|
||||||
|
Date: Fri, 18 Aug 2017 23:24:22 +0200
|
||||||
|
Subject: gcc7
|
||||||
|
|
||||||
|
Fix FTBFS with GCC 7.
|
||||||
|
|
||||||
|
Bug-Debian: https://bugs.debian.org/871218
|
||||||
|
Forwarded: no
|
||||||
|
---
|
||||||
|
source/ref_gl/r_iqm.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/source/ref_gl/r_iqm.c b/source/ref_gl/r_iqm.c
|
||||||
|
index ba5d178..cb3d2da 100644
|
||||||
|
--- a/source/ref_gl/r_iqm.c
|
||||||
|
+++ b/source/ref_gl/r_iqm.c
|
||||||
|
@@ -1263,7 +1263,7 @@ void IQM_Vlight (vec3_t baselight, mnormal_t *normal, vec3_t angles, vec3_t ligh
|
||||||
|
void R_Mesh_SetupShell (int shell_skinnum, qboolean ragdoll, qboolean using_varray, vec3_t lightcolor);
|
||||||
|
void R_Mesh_SetupGLSL (int skinnum, rscript_t *rs, vec3_t lightcolor);
|
||||||
|
|
||||||
|
-inline void IQM_DrawVBO (qboolean tangents)
|
||||||
|
+void IQM_DrawVBO (qboolean tangents)
|
||||||
|
{
|
||||||
|
qglEnableClientState( GL_VERTEX_ARRAY );
|
||||||
|
GL_BindVBO(vbo_xyz);
|
||||||
@@ -29,6 +29,8 @@
|
|||||||
<Dependency>libvorbis-devel</Dependency>
|
<Dependency>libvorbis-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
|
<Patch level="1">gcc7.patch</Patch>
|
||||||
|
<Patch level="1">alienarena-20130827-format.patch</Patch>
|
||||||
<Patch level="1">use_home_dir.patch</Patch>
|
<Patch level="1">use_home_dir.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
@@ -58,6 +60,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2018-09-14</Date>
|
||||||
|
<Version>7.66</Version>
|
||||||
|
<Comment>Rebuild with new toolchain</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2017-05-05</Date>
|
<Date>2017-05-05</Date>
|
||||||
<Version>7.66</Version>
|
<Version>7.66</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user