ports/90263: [PATCH] games/quake3: prevent quake from creating botlib.log in the current dir

Dmitry Marakasov amdmi3 at mail.ru
Mon Dec 12 01:00:19 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list