diff options
author | jlam <jlam> | 2001-05-24 21:52:14 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-24 21:52:14 +0000 |
commit | fb963103742e44047957287440353456c15b7602 (patch) | |
tree | 25e4ac2fd8226ef281cfde970415f6ea89617270 /net | |
parent | 2716486f96e29b41ee2184b85945fd9c57669951 (diff) | |
download | pkgsrc-fb963103742e44047957287440353456c15b7602.tar.gz |
Use S_IRUSR/S_IWUSR and related flags from <sys/stat.h> instead of
SHM_{R,W}. Fix suggest by Klaus Klein. This should fix build on
non-current NetBSD systems and closes PRs 13023 and 13033.
Diffstat (limited to 'net')
-rw-r--r-- | net/samba/distinfo | 4 | ||||
-rw-r--r-- | net/samba/patches/patch-ac | 20 |
2 files changed, 8 insertions, 16 deletions
diff --git a/net/samba/distinfo b/net/samba/distinfo index 40226c08807..62f539063cd 100644 --- a/net/samba/distinfo +++ b/net/samba/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.7 2001/05/22 22:07:00 jlam Exp $ +$NetBSD: distinfo,v 1.8 2001/05/24 21:52:14 jlam Exp $ SHA1 (samba-2.2.0.tar.gz) = a7010ff4b3e99a94e8a618184e551e3e61909859 Size (samba-2.2.0.tar.gz) = 5835104 bytes SHA1 (patch-aa) = 191875ae477167a1937a011c5b2f9baf033e41d8 SHA1 (patch-ab) = 28cfc5703a2c04b48a3e52047453c27d30aab160 -SHA1 (patch-ac) = 5bfbb2eaa43bc33792839d4965a9271c515eba09 +SHA1 (patch-ac) = 851ad9368742f02bdfa20a640e876447f895f5f8 diff --git a/net/samba/patches/patch-ac b/net/samba/patches/patch-ac index 624bf0ef5de..48004b6a9a4 100644 --- a/net/samba/patches/patch-ac +++ b/net/samba/patches/patch-ac @@ -1,21 +1,13 @@ -$NetBSD: patch-ac,v 1.8 2001/05/22 22:07:01 jlam Exp $ +$NetBSD: patch-ac,v 1.9 2001/05/24 21:52:15 jlam Exp $ --- profile/profile.c.orig Thu Nov 16 16:44:48 2000 -+++ profile/profile.c Tue May 22 17:53:46 2001 -@@ -26,6 +26,16 @@ ++++ profile/profile.c Thu May 24 17:39:00 2001 +@@ -26,7 +26,7 @@ extern int DEBUGLEVEL; -+/* -+ * Definitions for OSes without SHM_R or SHM_W in <sys/shm.h>. -+ */ -+#ifndef SHM_R -+#define SHM_R IPC_R -+#endif -+#ifndef SHM_W -+#define SHM_W IPC_W -+#endif -+ - #define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6)) +-#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; |