Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2005 04:01:18 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/90263: [PATCH] games/quake3: prevent quake from creating botlib.log in the current dir
Message-ID:  <20051212010118.72AF8216@hades.panopticon>
Resent-Message-ID: <200512120100.jBC10IZN018795@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         90263
>Category:       ports
>Synopsis:       [PATCH] games/quake3: prevent quake from creating botlib.log in the current dir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 12 01:00:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 23 05:48:39 MSK 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
quake3 creates botlib.log in the current directory. Such action is annoying and should be prevented.
>How-To-Repeat:
cd ~
quake3
rm botlib.log
>Fix:

--- quake3.patch begins here ---
diff -ruN quake3.orig/Makefile quake3/Makefile
--- quake3.orig/Makefile	Mon Dec 12 03:51:36 2005
+++ quake3/Makefile	Mon Dec 12 03:56:16 2005
@@ -45,6 +45,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%Q3DIR%%|"${Q3DIR}"|' \
 		${WRKSRC}/code/unix/unix_shared.c
+	@${REINPLACE_CMD} -e 's|botlib.log|/dev/null|' ${WRKSRC}/code/botlib/be_interface.c
 
 pre-build:
 	${MKDIR} ${WRKSRC}/lcc/build
--- quake3.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051212010118.72AF8216>