From amdmi3@mail.ru  Sat May 20 12:39:53 2006
Return-Path: <amdmi3@mail.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4A0B716A42A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 May 2006 12:39:53 +0000 (UTC)
	(envelope-from amdmi3@mail.ru)
Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.63])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D43DB43D46
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 May 2006 12:39:52 +0000 (GMT)
	(envelope-from amdmi3@mail.ru)
Received: from [213.148.29.33] (port=22400 helo=nexii.panopticon)
	by mx27.mail.ru with esmtp 
	id 1FhQkH-000Git-00
	for FreeBSD-gnats-submit@freebsd.org; Sat, 20 May 2006 16:39:49 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.2])
	by nexii.panopticon (Postfix) with ESMTP id 2ECE811411
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 May 2006 16:44:30 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id E05B6302; Sat, 20 May 2006 16:40:56 +0400 (MSD)
Message-Id: <20060520124056.E05B6302@hades.panopticon>
Date: Sat, 20 May 2006 16:40:56 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@mail.ru>
Reply-To: Dmitry Marakasov <amdmi3@mail.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] graphics/gnash: turn annoying gnash-dbg.log into dotfile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97522
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/gnash: turn annoying gnash-dbg.log into dotfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 20 12:40:11 GMT 2006
>Closed-Date:    Mon Jun 05 20:29:32 GMT 2006
>Last-Modified:  Mon Jun 05 20:29:32 GMT 2006
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Every time gnash plugin is launched, gnash-dbg.log file is created in current dir.
I consider this annoying, so I think it's better to have gnash debug log as a dotfile.
>How-To-Repeat:
Run firefox/opera when gnash plugin is present.
>Fix:

--- gnash.patch begins here ---
diff -ruN gnash.old/Makefile gnash/Makefile
--- gnash.old/Makefile	Mon May  8 19:44:41 2006
+++ gnash/Makefile	Sat May 20 16:23:52 2006
@@ -48,6 +48,7 @@
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|gnash-dbg.log|.gnash-dbg.log|' ${WRKSRC}/libbase/log.h
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g;s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 .if !defined(WITH_PLUGIN)
--- gnash.patch ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: erwin 
State-Changed-When: Mon Jun 5 20:29:24 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97522 
>Unformatted:
