summaryrefslogtreecommitdiff
path: root/irc/unreal/files/patch-ircd.c
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-12-28 12:13:37 +0000
committerChris Rees <crees@FreeBSD.org>2011-12-28 12:13:37 +0000
commit3156eabc2738cb782e674aea1fa784738d6ef832 (patch)
treeece94c3b8def87997a0c73c925c83e4896bc6cf7 /irc/unreal/files/patch-ircd.c
parentDeprecate fourth part of obsoleted zope-related ports. (diff)
Update to 3.2.9
PR: ports/162928 Submitted by: Jr Aquino <tanawts@gmail.com> (maintainer)
Diffstat (limited to 'irc/unreal/files/patch-ircd.c')
-rw-r--r--irc/unreal/files/patch-ircd.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/irc/unreal/files/patch-ircd.c b/irc/unreal/files/patch-ircd.c
index 54e385e3b561..ddd388cb4068 100644
--- a/irc/unreal/files/patch-ircd.c
+++ b/irc/unreal/files/patch-ircd.c
@@ -1,14 +1,20 @@
---- src/ircd.c 2009-03-01 19:37:58.000000000 +0100
-+++ src/ircd.c 2009-08-18 16:20:39.000000000 +0200
-@@ -1369,9 +1369,9 @@
+$FreeBSD$
+
+--- src/ircd.c 2011-11-05 02:25:24.000000000 -0700
++++ src/ircd.c 2011-11-28 10:21:38.000000000 -0800
+@@ -1407,12 +1407,12 @@
}
#endif
#ifndef _WIN32
- mkdir("tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
+ mkdir("%%RUNDIR%%/tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
+ #if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE)
+ mkdir("cache", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the cache dir, if using curl and it doesn't exist */
+ #endif
#else
- mkdir("tmp");
+ mkdir("%%RUNDIR%%/tmp");
- #endif
- #ifndef _WIN32
- /*
+ #if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE)
+ mkdir("cache");
+ #endif
+