diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-01-29 11:57:39 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-01-29 11:57:39 +0000 |
commit | a55b455b367be0c5968429eade046af06dddc6f5 (patch) | |
tree | e92573c41e1ca2fc33afda6b731b9b94c135417a /games-fps/alienarena/files | |
parent | Version bump. Fixes bug 301209. (diff) | |
download | gentoo-2-a55b455b367be0c5968429eade046af06dddc6f5.tar.gz gentoo-2-a55b455b367be0c5968429eade046af06dddc6f5.tar.bz2 gentoo-2-a55b455b367be0c5968429eade046af06dddc6f5.zip |
Fix build with >=media-libs/jpeg-8 Bug #302093 by Xake
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-fps/alienarena/files')
-rw-r--r-- | games-fps/alienarena/files/alienarena-20090616-path-overflows.patch | 51 | ||||
-rw-r--r-- | games-fps/alienarena/files/alienarena-20091227-jpeg8.patch | 19 |
2 files changed, 19 insertions, 51 deletions
diff --git a/games-fps/alienarena/files/alienarena-20090616-path-overflows.patch b/games-fps/alienarena/files/alienarena-20090616-path-overflows.patch deleted file mode 100644 index 3d8aba46c3cb..000000000000 --- a/games-fps/alienarena/files/alienarena-20090616-path-overflows.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- source/game/acesrc/acebot_nodes.c -+++ source/game/acesrc/acebot_nodes.c -@@ -719,7 +719,7 @@ - void ACEND_SaveNodes() - { - FILE *pOut; -- char filename[60]; -+ char filename[MAX_OSPATH]; - int i,j; - int version = 1; - -@@ -760,7 +760,7 @@ - { - FILE *pIn; - int i,j; -- char filename[60]; -+ char filename[MAX_OSPATH]; - int version; - - strcpy(filename,BOTDIR"/botinfo/nav/"); ---- source/game/acesrc/acebot_spawn.c -+++ source/game/acesrc/acebot_spawn.c -@@ -119,7 +119,7 @@ - int i, j, count, spawnkicknum;
- char *info;
- char *skin;
-- char bot_filename[128];
-+ char bot_filename[MAX_OSPATH];
- int found;
- int real_players, total_players;
- edict_t *cl_ent;
-@@ -226,7 +226,7 @@ - {
- FILE *pIn;
- int count;
-- char bot_filename[128];
-+ char bot_filename[MAX_OSPATH];
-
- //bots and configurations are loaded level specific
- if (((int)(dmflags->value) & DF_SKINTEAMS) || ctf->value || tca->value || cp->value)
---- source/ref_gl/r_model.c -+++ source/ref_gl/r_model.c -@@ -1689,7 +1689,7 @@ -
- void R_BeginRegistration (char *model)
- {
-- char fullname[MAX_QPATH];
-+ char fullname[MAX_OSPATH];
- char *path;
- cvar_t *flushmap;
- FILE *file;
diff --git a/games-fps/alienarena/files/alienarena-20091227-jpeg8.patch b/games-fps/alienarena/files/alienarena-20091227-jpeg8.patch new file mode 100644 index 000000000000..d1bb328eed48 --- /dev/null +++ b/games-fps/alienarena/files/alienarena-20091227-jpeg8.patch @@ -0,0 +1,19 @@ +--- ref_gl/r_image.c.old 2010-01-29 12:35:29.000000000 +0100 ++++ ref_gl/r_image.c 2010-01-29 12:37:02.000000000 +0100 +@@ -572,6 +572,8 @@ +
+ FS_FreeFile (pcx);
+ }
++
++#if JPEG_LIB_VERSION < 80
+ /*
+ =================================================================
+
+@@ -613,6 +615,7 @@ + cinfo->src->bytes_in_buffer = len;
+ cinfo->src->next_input_byte = mem;
+ }
++#endif
+
+ #define DSTATE_START 200 /* after create_decompress */
+ #define DSTATE_INHEADER 201 /* reading header markers, no SOS yet */
|