FreeBSD Bugzilla – Attachment 79963 Details for
Bug 114795
games/glaxium fix segfaults
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.74 KB, created by
Max Brazhnikov
on 2007-07-21 20:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Max Brazhnikov
Created:
2007-07-21 20:20:01 UTC
Size:
1.74 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/games/glaxium/Makefile /home/makc/porting/ports/games/glaxium/Makefile >--- /usr/ports/games/glaxium/Makefile Tue Jun 19 14:23:22 2007 >+++ /home/makc/porting/ports/games/glaxium/Makefile Sat Jul 21 18:07:54 2007 >@@ -7,7 +7,7 @@ > > PORTNAME= glaxium > PORTVERSION= 0.5 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= games > MASTER_SITES= http://xhosxe.free.fr/glaxium/ > DISTNAME= ${PORTNAME}_${PORTVERSION} >@@ -26,6 +26,8 @@ > ALL_TARGET= ${PORTNAME} > > MAN6= glaxium.6 >+ >+USE_DOS2UNIX=variables.cpp scene.cpp > > post-patch: > @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g; \ >diff -ruN --exclude=CVS /usr/ports/games/glaxium/files/patch-scene.cpp /home/makc/porting/ports/games/glaxium/files/patch-scene.cpp >--- /usr/ports/games/glaxium/files/patch-scene.cpp Thu Jan 1 03:00:00 1970 >+++ /home/makc/porting/ports/games/glaxium/files/patch-scene.cpp Sat Jul 21 18:09:24 2007 >@@ -0,0 +1,11 @@ >+--- ./scene.cpp.orig Thu Oct 10 16:57:58 2002 >++++ ./scene.cpp Sat Jul 21 17:54:40 2007 >+@@ -2361,7 +2361,7 @@ >+ oldTimer = newTimer; >+ globalList->move() ; >+ #ifndef PI >+-#define PI=3.151592653589793 >++#define PI=3.141592653589793 >+ #endif >+ benchFrames++; >+ >diff -ruN --exclude=CVS /usr/ports/games/glaxium/files/patch-variables.cpp /home/makc/porting/ports/games/glaxium/files/patch-variables.cpp >--- /usr/ports/games/glaxium/files/patch-variables.cpp Thu Jan 1 03:00:00 1970 >+++ /home/makc/porting/ports/games/glaxium/files/patch-variables.cpp Sat Jul 21 18:09:15 2007 >@@ -0,0 +1,10 @@ >+--- ./variables.cpp.orig Fri Oct 18 01:53:00 2002 >++++ ./variables.cpp Sat Jul 21 17:51:10 2007 >+@@ -453,6 +453,7 @@ >+ static char strReturn[1024]; >+ strcpy(strReturn, getenv("HOME")); >+ strcat(strReturn, "/.glaxiumrc"); >++ return strReturn; >+ #endif >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114795
: 79963