Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-opensync_opensync__group.c,v 1.1 2016/02/01 17:10:38 richard Exp $
Recent versions of Illumos implement flock()
--- opensync/opensync_group.c.orig 2007-03-27 11:49:18.000000000 +0000
+++ opensync/opensync_group.c
@@ -26,10 +26,10 @@
extern int errno;
/*
- * On Solaris no flock function exists,
- * we must implenet it here
+ * On Solaris if no flock function exists,
+ * we must implement it here
*/
-#ifdef SOLARIS
+#if defined(SOLARIS) && !defined(LOCK_EX)
#define LOCK_SH 1
#define LOCK_EX 2