summaryrefslogtreecommitdiff
path: root/irc/unreal/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-22 20:38:41 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-22 20:38:41 +0000
commite974228ff0b2b7ec15bfc1757ba4ed49fd3cc7a4 (patch)
treee4b1dccb3e61e356b05213325ca72e84784ce5f6 /irc/unreal/files
parent- Update to 9.06 beta (diff)
- Fix build
PR: 137993 Submitted by: Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
Notes
Notes: svn path=/head/; revision=240134
Diffstat (limited to 'irc/unreal/files')
-rw-r--r--irc/unreal/files/patch-modules.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/irc/unreal/files/patch-modules.c b/irc/unreal/files/patch-modules.c
index 601b75114770..23b3ac19b4b7 100644
--- a/irc/unreal/files/patch-modules.c
+++ b/irc/unreal/files/patch-modules.c
@@ -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