From 137eefaa290b5dcadffe86ecfd73a9fa0eb78933 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Sat, 1 Feb 2003 12:51:47 +0000 Subject: Fix qw-client segfaults. Submitted by: Ulrich Spoerlein Obtained from: qf-CVS --- games/quakeforge/files/patch-ag | 11 +++++++++++ games/quakeforge/pkg-message | 11 ++++------- 2 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 games/quakeforge/files/patch-ag (limited to 'games') diff --git a/games/quakeforge/files/patch-ag b/games/quakeforge/files/patch-ag new file mode 100644 index 000000000000..e265565c2855 --- /dev/null +++ b/games/quakeforge/files/patch-ag @@ -0,0 +1,11 @@ +--- ./qw/source/teamplay.c.orig Fri Jan 31 20:27:27 2003 ++++ ./qw/source/teamplay.c Fri Jan 31 20:26:48 2003 +@@ -493,7 +493,7 @@ + { + int i; + +- for (i = 0; f_replies[i].name; i++) ++ for (i = 0; i < sizeof(f_replies) / sizeof(f_replies[0]); i++) + f_replies[i].lasttime = realtime - cl_freply->value; + return; + } diff --git a/games/quakeforge/pkg-message b/games/quakeforge/pkg-message index 42a637f0948b..c469ccc877ab 100644 --- a/games/quakeforge/pkg-message +++ b/games/quakeforge/pkg-message @@ -3,12 +3,9 @@ Install models, skins, maps and mods in ${PREFIX}/share/quakeforge -ATTENTION: All qw-clients core dump on exit, -this may render your keyboard/mouse unusable -if you're running in OpenGL Mode -They will also core dump when switching servers - -Don't run the -svga clients, they will kill -keyboard/video/mouse too +ATTENTION: Don't run the -svga clients, they +will probably render your keyboard/video/mouse, +unusable, forcing you to kill the client via +telnet/ssh/serial console. =============================================== -- cgit v1.2.3