Files
pkgsrc-ng/net/samba4/patches/patch-lib_nss__wrapper_wscript
2016-01-21 23:41:46 +01:00

16 lines
942 B
Plaintext

$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')