diff options
author | netchild <netchild@FreeBSD.org> | 2003-02-01 20:51:47 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2003-02-01 20:51:47 +0800 |
commit | 8933010b15d2dc50693d69bb02b5898b0ac405cd (patch) | |
tree | 9ac3999faa5c73f4403becce17babb8dbca5f773 /games | |
parent | 5d077ad863ee09f914174bb482c3868c2d960bd5 (diff) | |
download | freebsd-ports-gnome-8933010b15d2dc50693d69bb02b5898b0ac405cd.tar.gz freebsd-ports-gnome-8933010b15d2dc50693d69bb02b5898b0ac405cd.tar.zst freebsd-ports-gnome-8933010b15d2dc50693d69bb02b5898b0ac405cd.zip |
Fix qw-client segfaults.
Submitted by: Ulrich Spoerlein <q@uni.de>
Obtained from: qf-CVS
Diffstat (limited to 'games')
-rw-r--r-- | games/quakeforge/files/patch-ag | 11 | ||||
-rw-r--r-- | games/quakeforge/pkg-message | 11 |
2 files changed, 15 insertions, 7 deletions
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. =============================================== |