aboutsummaryrefslogtreecommitdiffstats
path: root/irc/unreal
diff options
context:
space:
mode:
Diffstat (limited to 'irc/unreal')
-rw-r--r--irc/unreal/Makefile1
-rw-r--r--irc/unreal/files/patch-modules.c11
2 files changed, 11 insertions, 1 deletions
diff --git a/irc/unreal/Makefile b/irc/unreal/Makefile
index 237459b91465..ea23d33a0e2e 100644
--- a/irc/unreal/Makefile
+++ b/irc/unreal/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Unreal
PORTVERSION= 3.2.8.1
+PORTREVISION= 1
CATEGORIES= irc ipv6
MASTER_SITES= http://unrealircd.pimpmylinux.org/ \
http://unrealircd.icedslash.com/
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