ports/137993: Fix patch for irc/unreal

Gerrit Beine gerrit.beine at gmx.de
Thu Aug 20 14:10:06 UTC 2009


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



More information about the freebsd-ports-bugs mailing list