diff options
Diffstat (limited to 'net/samba4/patches/patch-lib_nss__wrapper_wscript')
-rw-r--r-- | net/samba4/patches/patch-lib_nss__wrapper_wscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/samba4/patches/patch-lib_nss__wrapper_wscript b/net/samba4/patches/patch-lib_nss__wrapper_wscript new file mode 100644 index 00000000000..62755508385 --- /dev/null +++ b/net/samba4/patches/patch-lib_nss__wrapper_wscript @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_nss__wrapper_wscript,v 1.1 2015/05/26 15:11:26 jperkin Exp $ + +Fix HAVE_SOLARIS_GETGRENT_R define. + +--- lib/nss_wrapper/wscript.orig 2015-01-16 08:18:39.000000000 +0000 ++++ lib/nss_wrapper/wscript +@@ -62,7 +62,7 @@ def configure(conf): + define='HAVE_SOLARIS_GETPWUID_R', headers='unistd.h pwd.h') + conf.CHECK_C_PROTOTYPE('getgrent_r', + 'struct group *getgrent_r(struct group *src, char *buf, int buflen)', +- define='SOLARIS_GETGRENT_R', headers='unistd.h grp.h') ++ define='HAVE_SOLARIS_GETGRENT_R', headers='unistd.h grp.h') + conf.CHECK_C_PROTOTYPE('getgrnam_r', + 'int getgrnam_r(const char *name, struct group *grp, char *buf, int buflen, struct group **pgrp)', + define='HAVE_SOLARIS_GETGRNAM_R', headers='unistd.h grp.h') |