summaryrefslogtreecommitdiff
path: root/net/samba30/patches/patch-bp
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba30/patches/patch-bp')
-rw-r--r--net/samba30/patches/patch-bp14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/samba30/patches/patch-bp b/net/samba30/patches/patch-bp
new file mode 100644
index 00000000000..58391f39063
--- /dev/null
+++ b/net/samba30/patches/patch-bp
@@ -0,0 +1,14 @@
+$NetBSD: patch-bp,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $
+
+--- smbd/server.c.orig 2009-09-30 21:21:56.000000000 +0900
++++ smbd/server.c
+@@ -1008,6 +1008,9 @@ extern void build_options(BOOL screen);
+ if (!directory_exist(lp_lockdir(), NULL))
+ mkdir(lp_lockdir(), 0755);
+
++ if (!directory_exist(lp_statedir(), NULL))
++ mkdir(lp_statedir(), 0755);
++
+ if (is_daemon)
+ pidfile_create("smbd");
+