Import of pkgsrc-2015Q2
This commit is contained in:
15
net/samba4/patches/patch-lib_nss__wrapper_wscript
Normal file
15
net/samba4/patches/patch-lib_nss__wrapper_wscript
Normal file
@@ -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')
|
||||
Reference in New Issue
Block a user