summaryrefslogtreecommitdiff
path: root/net/ja-samba/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'net/ja-samba/patches/patch-ai')
-rw-r--r--net/ja-samba/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/ja-samba/patches/patch-ai b/net/ja-samba/patches/patch-ai
new file mode 100644
index 00000000000..36f4e82e911
--- /dev/null
+++ b/net/ja-samba/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1.1.1 2002/06/25 15:31:34 taca Exp $
+
+--- profile/profile.c.orig Fri Nov 9 18:27:26 2001
++++ profile/profile.c
+@@ -24,7 +24,7 @@
+
+ extern int DEBUGLEVEL;
+
+-#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
++#define IPC_PERMS ((S_IRUSR | S_IWUSR) | S_IRGRP | S_IROTH)
+
+ static int shm_id;
+ static BOOL read_only;