summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bp
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-bp')
-rw-r--r--net/samba/patches/patch-bp14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/samba/patches/patch-bp b/net/samba/patches/patch-bp
new file mode 100644
index 00000000000..41396946190
--- /dev/null
+++ b/net/samba/patches/patch-bp
@@ -0,0 +1,14 @@
+$NetBSD: patch-bp,v 1.1 2005/11/14 08:05:28 jlam Exp $
+
+--- smbd/server.c.orig 2005-10-12 13:03:25.000000000 -0400
++++ smbd/server.c
+@@ -867,6 +867,9 @@ 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");
+