pkgsrc/filesystems/glusterfs/patches/patch-af
manu f07c2079ba Update glusterfs to 3.2.3
This maintenance release with no new features. Majot bug fixes are:
 Bug 2464 Fixed all the issues caused by GFID mismatch during
	  distribute rename.
 Bug 2988 Fixed the issue of high CPU usage when Directory Quota
	  is enabled.
 Bug 3122 Enhanced the volume set interface to support io-threads
	  on the client.
 Bug 3210 Fixed the issue of modified mtime/atime of the files after
	  rebalance operation.
 Bug 3191 Fixed the issue with symlinks during rebalance operation.
2011-09-18 01:36:06 +00:00

16 lines
631 B
Text

$NetBSD: patch-af,v 1.7 2011/09/18 01:36:06 manu Exp $
Works around "error: 'TCP_KEEPALIVE' undeclared" on NetBSD
--- rpc/rpc-transport/socket/src/socket.c.orig 2011-08-23 14:31:38.000000000 +0200
+++ rpc/rpc-transport/socket/src/socket.c 2011-09-17 15:45:29.000000000 +0200
@@ -397,9 +397,9 @@
if (keepalive_intvl == GF_USE_DEFAULT_KEEPALIVE)
goto done;
-#ifndef GF_LINUX_HOST_OS
+#if !defined(GF_LINUX_HOST_OS) && !defined(__NetBSD__)
#ifdef GF_SOLARIS_HOST_OS
ret = setsockopt (fd, SOL_SOCKET, SO_KEEPALIVE, &keepalive_intvl,
sizeof (keepalive_intvl));
#else