summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-05-06 22:11:49 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-05-06 22:11:49 +0000
commita76473123dc4ece5dc0ea990beaf15670c33f458 (patch)
treef5ca60f9e837003d49ae0f4b97243e1f68d12a05 /games-fps
parentStable on SPARC wrt security bug #132146. (diff)
downloadhistorical-a76473123dc4ece5dc0ea990beaf15670c33f458.tar.gz
historical-a76473123dc4ece5dc0ea990beaf15670c33f458.tar.bz2
historical-a76473123dc4ece5dc0ea990beaf15670c33f458.zip
Fix for gcc-4.1, bug #124993
Package-Manager: portage-2.1_pre10-r3
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/quakeforge/ChangeLog6
-rw-r--r--games-fps/quakeforge/Manifest37
-rw-r--r--games-fps/quakeforge/files/digest-quakeforge-0.5.52
-rw-r--r--games-fps/quakeforge/files/quakeforge-0.5.5-gcc41.patch342
-rw-r--r--games-fps/quakeforge/quakeforge-0.5.5.ebuild7
5 files changed, 381 insertions, 13 deletions
diff --git a/games-fps/quakeforge/ChangeLog b/games-fps/quakeforge/ChangeLog
index 9cae311be9a2..5ad8ff2e86c8 100644
--- a/games-fps/quakeforge/ChangeLog
+++ b/games-fps/quakeforge/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/quakeforge
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.11 2006/03/27 20:34:50 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.12 2006/05/06 22:11:49 tupone Exp $
+
+ 06 May 2006; <Tupone@gentoo.org> +files/quakeforge-0.5.5-gcc41.patch,
+ quakeforge-0.5.5.ebuild:
+ Fix for gcc-4.1, bug #124993 by Patrizio Bassi
27 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
quakeforge-0.5.5.ebuild:
diff --git a/games-fps/quakeforge/Manifest b/games-fps/quakeforge/Manifest
index 409fea9d7584..e573b349f38f 100644
--- a/games-fps/quakeforge/Manifest
+++ b/games-fps/quakeforge/Manifest
@@ -1,15 +1,34 @@
-MD5 b24c5901886746c5a9a46e3c16c1f9f4 ChangeLog 2527
-RMD160 db1d9854939f91c400cd73edd45f20a3a324ef03 ChangeLog 2527
-SHA256 1dde84733d33af8e41e2ae5c4479d86bf73e58a6c49869fc73485e1d86415b7e ChangeLog 2527
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 0.5.5-ipv6.patch 302 RMD160 7e1255c42df1c6c6ee59e87fa034324bfe2a83b5 SHA1 d24595bf4feb9e51c69bae9d716370f0262d15bf SHA256 8b473c335e6dc191e4aae7e7ada09ea5fc6d649e1132bb6230c1427fa0692e7a size 302
MD5 7c7c8315f5a4a12c1c7009e0e5a674ea files/0.5.5-ipv6.patch 302
RMD160 7e1255c42df1c6c6ee59e87fa034324bfe2a83b5 files/0.5.5-ipv6.patch 302
SHA256 8b473c335e6dc191e4aae7e7ada09ea5fc6d649e1132bb6230c1427fa0692e7a files/0.5.5-ipv6.patch 302
-MD5 4b19724389aab51f2894c5bf5b0a615c files/digest-quakeforge-0.5.5 70
-RMD160 e7c8959eacd6ad0c241f91805ecad5e7d91852c2 files/digest-quakeforge-0.5.5 70
-SHA256 065c91698ce01e35e0af73ca9c9d7880328aedbd01678611e7fb460123deda5d files/digest-quakeforge-0.5.5 70
+AUX quakeforge-0.5.5-gcc41.patch 11887 RMD160 927ccee1af7ce986317c5a865dd67caf1bb2f489 SHA1 e57ad56650cbc80de3b8abfe58127a0ded0f0be5 SHA256 a8409922b14d1690f3a0f58a7961371944f1c96798f5e5f85ee8247ea1bab20d size 11887
+MD5 84da17ca227ffe373c5870acf6fc5135 files/quakeforge-0.5.5-gcc41.patch 11887
+RMD160 927ccee1af7ce986317c5a865dd67caf1bb2f489 files/quakeforge-0.5.5-gcc41.patch 11887
+SHA256 a8409922b14d1690f3a0f58a7961371944f1c96798f5e5f85ee8247ea1bab20d files/quakeforge-0.5.5-gcc41.patch 11887
+DIST quakeforge-0.5.5.tar.bz2 1954072 RMD160 1caf8d7b272c9e588708ac39841d46aac2c5df79 SHA256 9ff29340f571fc26d19992a32f58e767e1b811248688f383083bc2ccb263ec6a size 1954072
+EBUILD quakeforge-0.5.5.ebuild 3918 RMD160 ad0ec8c56374e4fd31fd76f5369899ffa369c148 SHA1 6a635b467094322636100098bc0f36a8bf69deea SHA256 74bdeb3c679ced2e7766eba3f7830779e95d291380640eb027ef3e5eb34b02e3 size 3918
+MD5 d8f5bd0cbe5510e48073e2f70f4d7d16 quakeforge-0.5.5.ebuild 3918
+RMD160 ad0ec8c56374e4fd31fd76f5369899ffa369c148 quakeforge-0.5.5.ebuild 3918
+SHA256 74bdeb3c679ced2e7766eba3f7830779e95d291380640eb027ef3e5eb34b02e3 quakeforge-0.5.5.ebuild 3918
+MISC ChangeLog 2674 RMD160 58aec2a13cdae9e0489fdede0a1afcc47b4f91d7 SHA1 69922ca8466cf57ef95b19dd649f4f104a5c002d SHA256 de335af82461f54bc3a868f870ebcd308b5e31db7e46de4a7720bd041d80d337 size 2674
+MD5 c0d88183afcc45f32183741bb362de67 ChangeLog 2674
+RMD160 58aec2a13cdae9e0489fdede0a1afcc47b4f91d7 ChangeLog 2674
+SHA256 de335af82461f54bc3a868f870ebcd308b5e31db7e46de4a7720bd041d80d337 ChangeLog 2674
+MISC metadata.xml 1486 RMD160 ec42888731d2ed1e27e6a6360a3b425667dbd586 SHA1 86f0992f23401e5c6bae077f92a18a90f82f60aa SHA256 4f75b5ee6da95cbd8a04c8a627f03774162b7c45f7586613b696fd05fd97a3d1 size 1486
MD5 3f7a2b4d0f9510d4ab1be5cb3f6de976 metadata.xml 1486
RMD160 ec42888731d2ed1e27e6a6360a3b425667dbd586 metadata.xml 1486
SHA256 4f75b5ee6da95cbd8a04c8a627f03774162b7c45f7586613b696fd05fd97a3d1 metadata.xml 1486
-MD5 0aee7296928f2329261c810c62cfa704 quakeforge-0.5.5.ebuild 3881
-RMD160 8e34c54e6521d3746bb29cd2678aef85b7c55e92 quakeforge-0.5.5.ebuild 3881
-SHA256 fbceee0a3fa4a65da6991242d731cad81b30dbe780a30b33ffbd2344013084b2 quakeforge-0.5.5.ebuild 3881
+MD5 8e0ded9bacd00a5ada85e067ec836730 files/digest-quakeforge-0.5.5 256
+RMD160 08c8b29e2db4c3a9a9445ae0b6b1f9fcfe3a5a78 files/digest-quakeforge-0.5.5 256
+SHA256 f756f5e7c5537b16c33fa21f6f68c997e00c6a724e074d483423256a0805ab97 files/digest-quakeforge-0.5.5 256
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEXR8w2CTtIKiFlQIRAgmUAJ99tshTNlrBNQGWxh0h/RMDEQxGewCfftIi
+Rxbt5Otc0YzHxQKVbh7r3fk=
+=tx0a
+-----END PGP SIGNATURE-----
diff --git a/games-fps/quakeforge/files/digest-quakeforge-0.5.5 b/games-fps/quakeforge/files/digest-quakeforge-0.5.5
index bbd8667f3939..e2b268f899bc 100644
--- a/games-fps/quakeforge/files/digest-quakeforge-0.5.5
+++ b/games-fps/quakeforge/files/digest-quakeforge-0.5.5
@@ -1 +1,3 @@
MD5 b750b491ce24135f1a4a1360029de3a2 quakeforge-0.5.5.tar.bz2 1954072
+RMD160 1caf8d7b272c9e588708ac39841d46aac2c5df79 quakeforge-0.5.5.tar.bz2 1954072
+SHA256 9ff29340f571fc26d19992a32f58e767e1b811248688f383083bc2ccb263ec6a quakeforge-0.5.5.tar.bz2 1954072
diff --git a/games-fps/quakeforge/files/quakeforge-0.5.5-gcc41.patch b/games-fps/quakeforge/files/quakeforge-0.5.5-gcc41.patch
new file mode 100644
index 000000000000..a609c502ee50
--- /dev/null
+++ b/games-fps/quakeforge/files/quakeforge-0.5.5-gcc41.patch
@@ -0,0 +1,342 @@
+diff -burN quakeforge-0.5.5/libs/audio/cd/cd_file.c quakeforge-new/libs/audio/cd/cd_file.c
+--- quakeforge-0.5.5/libs/audio/cd/cd_file.c 2004-02-07 21:39:44.000000000 -0500
++++ quakeforge-new/libs/audio/cd/cd_file.c 2006-03-28 14:50:26.000000000 -0500
+@@ -84,7 +84,7 @@
+ static int current_track; // current track, used when pausing
+ static plitem_t *tracklist = NULL; // parsed tracklist, dictionary format
+
+-static cvar_t *bgmvolume; // volume cvar
++cvar_t *bgmvolume; // volume cvar
+ static cvar_t *mus_ogglist; // tracklist cvar
+
+
+diff -burN quakeforge-0.5.5/libs/audio/cd/cd_linux.c quakeforge-new/libs/audio/cd/cd_linux.c
+--- quakeforge-0.5.5/libs/audio/cd/cd_linux.c 2004-02-07 00:35:15.000000000 -0500
++++ quakeforge-new/libs/audio/cd/cd_linux.c 2006-03-28 14:50:40.000000000 -0500
+@@ -79,7 +79,7 @@
+ static int cdfile = -1;
+
+ static cvar_t *mus_cddevice;
+-static cvar_t *bgmvolume;
++cvar_t *bgmvolume;
+
+
+ static void
+diff -burN quakeforge-0.5.5/libs/audio/cd/cd_sdl.c quakeforge-new/libs/audio/cd/cd_sdl.c
+--- quakeforge-0.5.5/libs/audio/cd/cd_sdl.c 2004-03-20 23:59:02.000000000 -0500
++++ quakeforge-new/libs/audio/cd/cd_sdl.c 2006-03-28 14:50:52.000000000 -0500
+@@ -65,7 +65,7 @@
+ static SDL_CD *cd_id;
+ static float cdvolume = 1.0;
+
+-static cvar_t *bgmvolume;
++ cvar_t *bgmvolume;
+
+
+ static void
+diff -burN quakeforge-0.5.5/libs/audio/cd/cd_sgi.c quakeforge-new/libs/audio/cd/cd_sgi.c
+--- quakeforge-0.5.5/libs/audio/cd/cd_sgi.c 2004-02-07 00:35:15.000000000 -0500
++++ quakeforge-new/libs/audio/cd/cd_sgi.c 2006-03-28 14:51:01.000000000 -0500
+@@ -65,7 +65,7 @@
+ static char cd_dev[] = "/dev/cdrom";
+
+ static CDPLAYER *cdp = NULL;
+-static cvar_t *bgmvolume;
++cvar_t *bgmvolume;
+
+ static void
+ I_SGI_Eject (void)
+diff -burN quakeforge-0.5.5/libs/audio/cd/cd_win.c quakeforge-new/libs/audio/cd/cd_win.c
+--- quakeforge-0.5.5/libs/audio/cd/cd_win.c 2004-02-07 00:35:15.000000000 -0500
++++ quakeforge-new/libs/audio/cd/cd_win.c 2006-03-28 14:51:07.000000000 -0500
+@@ -68,7 +68,7 @@
+ static void I_CDAudio_Play (int track, qboolean looping);
+ static void I_CDAudio_Stop (void);
+
+-static cvar_t *bgmvolume;
++cvar_t *bgmvolume;
+
+
+ static void
+diff -burN quakeforge-0.5.5/libs/audio/renderer/snd_dma.c quakeforge-new/libs/audio/renderer/snd_dma.c
+--- quakeforge-0.5.5/libs/audio/renderer/snd_dma.c 2004-03-01 06:51:01.000000000 -0500
++++ quakeforge-new/libs/audio/renderer/snd_dma.c 2006-03-28 14:54:03.000000000 -0500
+@@ -72,17 +72,17 @@
+ static channel_t *static_channels[MAX_CHANNELS];
+ static int num_statics;
+
+-static qboolean snd_initialized = false;
+-static int snd_blocked = 0;
++qboolean snd_initialized = false;
++int snd_blocked = 0;
+ static qboolean snd_ambient = 1;
+
+-static vec3_t listener_origin;
+-static vec3_t listener_forward;
+-static vec3_t listener_right;
+-static vec3_t listener_up;
+-static vec_t sound_nominal_clip_dist = 1000.0;
++vec3_t listener_origin;
++vec3_t listener_forward;
++vec3_t listener_right;
++vec3_t listener_up;
++vec_t sound_nominal_clip_dist = 1000.0;
+
+-static unsigned soundtime; // sample PAIRS
++unsigned soundtime; // sample PAIRS
+
+ #define MAX_SFX 512
+ static sfx_t *known_sfx; // hunk allocated [MAX_SFX]
+@@ -97,7 +97,7 @@
+ static cvar_t *ambient_level;
+ static cvar_t *nosound;
+ static cvar_t *precache;
+-static cvar_t *snd_mixahead;
++cvar_t *snd_mixahead;
+ static cvar_t *snd_noextraupdate;
+ static cvar_t *snd_phasesep;
+ static cvar_t *snd_show;
+@@ -122,7 +122,7 @@
+ // isolating performance in the renderer. The fakedma_updates is
+ // number of times s_update() is called per second.
+
+-static qboolean fakedma = false;
++qboolean fakedma = false;
+ //static int fakedma_updates = 15;
+
+
+diff -burN quakeforge-0.5.5/libs/audio/targets/snd_alsa.c quakeforge-new/libs/audio/targets/snd_alsa.c
+--- quakeforge-0.5.5/libs/audio/targets/snd_alsa.c 2004-04-28 21:13:37.000000000 -0400
++++ quakeforge-new/libs/audio/targets/snd_alsa.c 2006-03-28 14:52:01.000000000 -0500
+@@ -43,7 +43,7 @@
+ #include "QF/sys.h"
+
+ static int snd_inited;
+-static int snd_blocked = 0;
++int snd_blocked = 0;
+ static volatile dma_t sn;
+ static snd_pcm_uframes_t buffer_size;
+
+@@ -59,10 +59,10 @@
+ static snd_output_data_t plugin_info_snd_output_data;
+ static snd_output_funcs_t plugin_info_snd_output_funcs;
+
+-static cvar_t *snd_bits;
+-static cvar_t *snd_device;
+-static cvar_t *snd_rate;
+-static cvar_t *snd_stereo;
++cvar_t *snd_bits;
++cvar_t *snd_device;
++cvar_t *snd_rate;
++cvar_t *snd_stereo;
+
+ #define QF_ALSA_NEED(ret, func, params) \
+ static ret (*qf##func) params;
+diff -burN quakeforge-0.5.5/libs/audio/targets/snd_disk.c quakeforge-new/libs/audio/targets/snd_disk.c
+--- quakeforge-0.5.5/libs/audio/targets/snd_disk.c 2004-01-07 22:46:11.000000000 -0500
++++ quakeforge-new/libs/audio/targets/snd_disk.c 2006-03-28 14:51:31.000000000 -0500
+@@ -55,7 +55,7 @@
+
+ static int snd_inited;
+ static QFile *snd_file;
+-static int snd_blocked = 0;
++int snd_blocked = 0;
+ static volatile dma_t sn;
+
+ static plugin_t plugin_info;
+diff -burN quakeforge-0.5.5/libs/audio/targets/snd_oss.c quakeforge-new/libs/audio/targets/snd_oss.c
+--- quakeforge-0.5.5/libs/audio/targets/snd_oss.c 2004-01-15 21:50:26.000000000 -0500
++++ quakeforge-new/libs/audio/targets/snd_oss.c 2006-03-28 14:52:24.000000000 -0500
+@@ -85,10 +85,10 @@
+
+ static int tryrates[] = { 11025, 22050, 22051, 44100, 8000 };
+
+-static cvar_t *snd_stereo;
+-static cvar_t *snd_rate;
+-static cvar_t *snd_device;
+-static cvar_t *snd_bits;
++cvar_t *snd_stereo;
++cvar_t *snd_rate;
++cvar_t *snd_device;
++cvar_t *snd_bits;
+ static cvar_t *snd_oss_mmaped;
+
+ static plugin_t plugin_info;
+diff -burN quakeforge-0.5.5/libs/audio/targets/snd_sdl.c quakeforge-new/libs/audio/targets/snd_sdl.c
+--- quakeforge-0.5.5/libs/audio/targets/snd_sdl.c 2004-01-07 22:46:11.000000000 -0500
++++ quakeforge-new/libs/audio/targets/snd_sdl.c 2006-03-28 14:52:38.000000000 -0500
+@@ -51,7 +51,7 @@
+
+ static dma_t sn;
+ static int snd_inited;
+-static int snd_blocked = 0;
++int snd_blocked = 0;
+
+ static int desired_speed = 11025;
+ static int desired_bits = 16;
+diff -burN quakeforge-0.5.5/libs/console/client.c quakeforge-new/libs/console/client.c
+--- quakeforge-0.5.5/libs/console/client.c 2004-03-01 22:55:17.000000000 -0500
++++ quakeforge-new/libs/console/client.c 2006-03-28 14:56:43.000000000 -0500
+@@ -84,7 +84,7 @@
+
+ static cvar_t *con_notifytime; // seconds
+ static cvar_t *con_alpha;
+-static cvar_t *con_size;
++cvar_t *con_size;
+ static cvar_t *con_speed;
+ static cvar_t *cl_chatmode;
+
+diff -burN quakeforge-0.5.5/libs/console/server.c quakeforge-new/libs/console/server.c
+--- quakeforge-0.5.5/libs/console/server.c 2004-01-27 00:23:36.000000000 -0500
++++ quakeforge-new/libs/console/server.c 2006-03-28 14:56:31.000000000 -0500
+@@ -70,7 +70,7 @@
+
+ #include "compat.h"
+
+-static console_data_t con_data;
++console_data_t con_data;
+
+ static QFile *log_file;
+ static cvar_t *sv_logfile;
+diff -burN quakeforge-0.5.5/libs/gib/gib_classes.c quakeforge-new/libs/gib/gib_classes.c
+--- quakeforge-0.5.5/libs/gib/gib_classes.c 2003-11-28 21:01:31.000000000 -0500
++++ quakeforge-new/libs/gib/gib_classes.c 2006-03-28 14:57:41.000000000 -0500
+@@ -192,7 +192,7 @@
+ unsigned int size;
+ unsigned int i = 0;
+
+- static qboolean
++ qboolean
+ iterator (gib_class_t *class, void *unused)
+ {
+ reply[i++] = class->name;
+@@ -610,13 +610,13 @@
+ gib_classdesc_t desc;
+ enum {CLASS, INSTANCE} mode = INSTANCE;
+
+- static void
++ void
+ mtabfree (void *mtab, void *unused)
+ {
+ free (mtab);
+ }
+
+- static const char *
++ const char *
+ fname (const char *str)
+ {
+ if (mode == INSTANCE)
+diff -burN quakeforge-0.5.5/libs/gib/gib_function.c quakeforge-new/libs/gib/gib_function.c
+--- quakeforge-0.5.5/libs/gib/gib_function.c 2004-04-09 14:18:19.000000000 -0400
++++ quakeforge-new/libs/gib/gib_function.c 2006-03-28 14:58:10.000000000 -0500
+@@ -169,7 +169,7 @@
+ gib_var_t *var;
+ static char argss[] = "args";
+
+- static qboolean
++ qboolean
+ iterate (char *arg, llist_node_t *node)
+ {
+ var = GIB_Var_Get_Complex (&GIB_DATA(cbuf)->locals, &zero,
+@@ -207,7 +207,7 @@
+ gib_var_t *var;
+ static char argss[] = "args";
+
+- static qboolean
++ qboolean
+ iterate (char *arg, llist_node_t *node)
+ {
+ var = GIB_Var_Get_Complex (&GIB_DATA(cbuf)->locals, &zero,
+diff -burN quakeforge-0.5.5/libs/gib/gib_thread.c quakeforge-new/libs/gib/gib_thread.c
+--- quakeforge-0.5.5/libs/gib/gib_thread.c 2003-09-11 02:03:10.000000000 -0400
++++ quakeforge-new/libs/gib/gib_thread.c 2006-03-28 14:58:26.000000000 -0500
+@@ -89,7 +89,7 @@
+ void
+ GIB_Thread_Execute (void)
+ {
+- static qboolean iterator (cbuf_t *cbuf, llist_node_t *node)
++ qboolean iterator (cbuf_t *cbuf, llist_node_t *node)
+ {
+ if (GIB_DATA(cbuf)->program)
+ Cbuf_Execute_Stack (cbuf);
+diff -burN quakeforge-0.5.5/qw/source/cl_chat.c quakeforge-new/qw/source/cl_chat.c
+--- quakeforge-0.5.5/qw/source/cl_chat.c 2003-07-18 02:27:26.000000000 -0400
++++ quakeforge-new/qw/source/cl_chat.c 2006-03-28 15:01:54.000000000 -0500
+@@ -66,7 +66,7 @@
+ static void
+ CL_Ignore_Sanity_Check (void)
+ {
+- static qboolean iterator (ignore_t *ig, llist_node_t *node)
++ qboolean iterator (ignore_t *ig, llist_node_t *node)
+ {
+ if (cl.players[ig->slot].userid != ig->uid) // We got out of sync somehow
+ llist_remove (node);
+@@ -80,12 +80,12 @@
+ {
+ CL_Ignore_Sanity_Check ();
+ if (Cmd_Argc () == 1) {
+- static qboolean live_iterator (ignore_t *ig, llist_node_t *node)
++ qboolean live_iterator (ignore_t *ig, llist_node_t *node)
+ {
+ Sys_Printf ("%5i - %s\n", ig->uid, Info_ValueForKey (cl.players[ig->slot].userinfo, "name"));
+ return true;
+ }
+- static qboolean dead_iterator (ignore_t *ig, llist_node_t *node)
++ qboolean dead_iterator (ignore_t *ig, llist_node_t *node)
+ {
+ Sys_Printf ("%s\n", ig->lastname);
+ return true;
+@@ -145,7 +145,7 @@
+ dstring_t *test = dstring_newstr ();
+ qboolean allowed = true;
+
+- static qboolean iterator (ignore_t *ig, llist_node_t *node)
++ qboolean iterator (ignore_t *ig, llist_node_t *node)
+ {
+ if (cl.players[ig->slot].userid != ig->uid) { // We got out of sync somehow
+ llist_remove (node);
+@@ -183,7 +183,7 @@
+ {
+ ignore_t *found = 0;
+
+- static qboolean iterator (ignore_t *ig, llist_node_t *node)
++ qboolean iterator (ignore_t *ig, llist_node_t *node)
+ {
+ if (!strcmp (ig->lastname, name)) {
+ found = ig;
+diff -burN quakeforge-0.5.5/tools/qfcc/source/method.c quakeforge-new/tools/qfcc/source/method.c
+--- quakeforge-0.5.5/tools/qfcc/source/method.c 2004-02-16 19:39:21.000000000 -0500
++++ quakeforge-new/tools/qfcc/source/method.c 2006-03-28 15:04:18.000000000 -0500
+@@ -61,7 +61,7 @@
+ #include "struct.h"
+ #include "type.h"
+
+-static hashtab_t *known_methods;
++hashtab_t *known_methods;
+
+ static const char *
+ method_get_key (void *meth, void *unused)
+diff -burN quakeforge-0.5.5/libs/video/targets/context_x11.c quakeforge-new/libs/video/targets/context_x11.c
+--- quakeforge-0.5.5/libs/video/targets/context_x11.c 2006-03-29 15:29:07.000000000 -0500
++++ quakeforge-new/libs/video/targets/context_x11.c 2006-03-29 15:29:49.000000000 -0500
+@@ -97,7 +97,7 @@
+ static XF86VidModeModeInfo **vidmodes;
+ static int nummodes;
+ static int original_mode = 0;
+-static vec3_t x_gamma = {-1, -1, -1};
++vec3_t x_gamma = {-1, -1, -1};
+ static qboolean vidmode_avail = false;
+ #endif
+
+diff -burN quakeforge-0.5.5/libs/video/targets/vid_x11.c quakeforge-new/libs/video/targets/vid_x11.c
+--- quakeforge-0.5.5/libs/video/targets/vid_x11.c 2006-03-29 15:29:07.000000000 -0500
++++ quakeforge-new/libs/video/targets/vid_x11.c 2006-03-29 15:30:15.000000000 -0500
+@@ -86,7 +86,7 @@
+ static Colormap x_cmap;
+ static GC x_gc;
+
+-static qboolean doShm;
++qboolean doShm;
+ static XShmSegmentInfo x_shminfo[2];
+
+ static int current_framebuffer;
diff --git a/games-fps/quakeforge/quakeforge-0.5.5.ebuild b/games-fps/quakeforge/quakeforge-0.5.5.ebuild
index cfb8951828b4..0761e329ff90 100644
--- a/games-fps/quakeforge/quakeforge-0.5.5.ebuild
+++ b/games-fps/quakeforge/quakeforge-0.5.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5.ebuild,v 1.10 2006/03/27 20:35:44 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5.ebuild,v 1.11 2006/05/06 22:11:49 tupone Exp $
inherit eutils games
@@ -48,8 +48,9 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-ipv6.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}"-ipv6.patch \
+ "${FILESDIR}/${P}"-gcc41.patch
}
src_compile() {