Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 134266

Summary: games-fps/nprquake-sdl-1-r1 - "Error: memory overwrite in Sys_Printf"
Product: Gentoo Linux Reporter: Denilson Sá Maia <denilsonsa>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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