aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pftpd/files
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-18 14:13:57 +0800
committerpat <pat@FreeBSD.org>2002-05-18 14:13:57 +0800
commitbee2e887efa63926791bfab9041b053f83e633f2 (patch)
treedb18f68b1a41080a450dcb60ad3dcd033059dbc2 /ftp/pftpd/files
parent4e84dd8397bfb5223762d26f3f2b66176d21d269 (diff)
downloadfreebsd-ports-gnome-bee2e887efa63926791bfab9041b053f83e633f2.tar.gz
freebsd-ports-gnome-bee2e887efa63926791bfab9041b053f83e633f2.tar.zst
freebsd-ports-gnome-bee2e887efa63926791bfab9041b053f83e633f2.zip
Update to 0.42
PR: 38206 Submitted by: maintainer
Diffstat (limited to 'ftp/pftpd/files')
-rw-r--r--ftp/pftpd/files/patch-plib-support.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/ftp/pftpd/files/patch-plib-support.c b/ftp/pftpd/files/patch-plib-support.c
new file mode 100644
index 000000000000..73aa197a3e2a
--- /dev/null
+++ b/ftp/pftpd/files/patch-plib-support.c
@@ -0,0 +1,17 @@
+--- plib/support.c.orig Thu May 2 05:01:54 2002
++++ plib/support.c Sat May 18 02:11:58 2002
+@@ -369,11 +369,13 @@
+ return code;
+
+ #else
++ pthread_once_t grp_once;
++ pthread_mutex_t grp_lock;
+ struct group *gp;
+ int i, len;
+
+
+- pthread_once(&grp_once, grp_lock_init);
++ pthread_once(&grp_once, NULL);
+ pthread_mutex_lock(&grp_lock);
+
+ gp = getgrgid(gid);