diff options
author | markd <markd@pkgsrc.org> | 2003-09-15 11:47:28 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2003-09-15 11:47:28 +0000 |
commit | fb5fb47a2ee94a8d6f05aa0c9df3a56bd8c6e062 (patch) | |
tree | 273504698d3bc718c38a70bff737c27138c23fd3 /mail/sendmail/patches/patch-ag | |
parent | 39b14e09d7b542fde377a325230c65f78ce870fc (diff) | |
download | pkgsrc-fb5fb47a2ee94a8d6f05aa0c9df3a56bd8c6e062.tar.gz |
Set smrsh CMDDIR for NetBSD to /usr/libexec/sm.bin to match the in-tree
version.
From PR pkg/21012 from Jim Bernard.
Diffstat (limited to 'mail/sendmail/patches/patch-ag')
-rw-r--r-- | mail/sendmail/patches/patch-ag | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/sendmail/patches/patch-ag b/mail/sendmail/patches/patch-ag new file mode 100644 index 00000000000..e30a1e0d4d2 --- /dev/null +++ b/mail/sendmail/patches/patch-ag @@ -0,0 +1,14 @@ +$NetBSD: patch-ag,v 1.6 2003/09/15 11:47:28 markd Exp $ + +--- include/sm/conf.h.orig 2003-09-15 22:16:32.000000000 +1200 ++++ include/sm/conf.h +@@ -890,6 +890,9 @@ extern unsigned int sleepX __P((unsigned + # if defined(__NetBSD__) && ((__NetBSD_Version__ > 102070000) || (NetBSD1_2 > 8) || defined(NetBSD1_4) || defined(NetBSD1_3)) + # define HASURANDOMDEV 1 /* has /dev/urandom(4) */ + # endif /* defined(__NetBSD__) && ((__NetBSD_Version__ > 102070000) || (NetBSD1_2 > 8) || defined(NetBSD1_4) || defined(NetBSD1_3)) */ ++# if defined(__NetBSD__) ++# define SMRSH_CMDDIR "/usr/libexec/sm.bin" ++# endif /* defined(__NetBSD__) */ + # if defined(__FreeBSD__) + # define HASSETLOGIN 1 /* has setlogin(2) */ + # if __FreeBSD_version >= 227001 |