Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134266 - games-fps/nprquake-sdl-1-r1 - "Error: memory overwrite in Sys_Printf"
Summary: games-fps/nprquake-sdl-1-r1 - "Error: memory overwrite in Sys_Printf"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-24 15:17 UTC by Denilson Sá Maia
Modified: 2006-05-25 19:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2006-05-24 15:17:55 UTC
I get the following error when trying to start nprquake.sdl:
Error: memory overwrite in Sys_Printf

Based on Linux Quake HowTo:
http://www.tldp.org/HOWTO/Quake-HOWTO-6.html

I got the idea to compile to change the source and compile it myself. It worked. So, I ask to add this to the current 1-gentoo.patch:
(file NPRQuakeSrc/sys_linux.c)
-	char		text[2048];
+	char		text[4096];
Comment 1 SpanKY gentoo-dev 2006-05-25 17:47:12 UTC
use the fix-sys_printf.patch from the quake1 ebuild
Comment 2 Denilson Sá Maia 2006-05-25 19:22:24 UTC
http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild
Looking at CVS, the message prints "QuakeForge". The message should be changed to "nprquake".

In addition, it does not mention you can simply run the game from within quake1 directory (the directory that contains id1 subdir). This sometimes is much more simple than symlinking things, and I think it worthes mentioning.

Oh, thanks for fixing it.
Comment 3 SpanKY gentoo-dev 2006-05-25 19:48:29 UTC
changed all three packages to use $PN in the message