Date: Thu, 20 Aug 2009 14:04:45 GMT From: Gerrit Beine <gerrit.beine@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137993: Fix patch for irc/unreal Message-ID: <200908201404.n7KE4jgQ032561@www.freebsd.org> Resent-Message-ID: <200908201410.n7KEA5UN094954@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137993 >Category: ports >Synopsis: Fix patch for irc/unreal >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Aug 20 14:10:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 7.2-RELEASE >Organization: SQQD GmbH >Environment: FreeBSD tinderbox.intern.sapat.de 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The Unreal IRCd wont start correctly without this patch. Thanks to Base for reporting this issue. >How-To-Repeat: >Fix: diff -Nur /usr/ports/irc/unreal/files/patch-modules.c irc/unreal/files/patch-modules.c --- /usr/ports/irc/unreal/files/patch-modules.c 2009-08-18 22:48:24.000000000 +0200 +++ irc/unreal/files/patch-modules.c 2009-08-20 15:33:24.000000000 +0200 @@ -1,5 +1,5 @@ --- src/modules.c 2009-04-13 13:03:58.000000000 +0200 -+++ src/modules.c 2009-08-18 16:29:34.000000000 +0200 ++++ src/modules.c 2009-08-20 15:32:56.000000000 +0200 @@ -177,12 +177,12 @@ { char tempbuf[PATH_MAX+1]; @@ -47,3 +47,12 @@ strcat(tempbuf, hData.cFileName); remove(tempbuf); } +@@ -323,7 +323,7 @@ + path = path_; + + +- tmppath = unreal_mktemp("tmp", unreal_getfilename(path)); ++ tmppath = unreal_mktemp("%%RUNDIR%%/tmp", unreal_getfilename(path)); + if (!tmppath) + return "Unable to create temporary file!"; + #ifndef _WIN32 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908201404.n7KE4jgQ032561>