Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2018 07:44:43 +0000 (UTC)
From:      Babak Farrokhi <farrokhi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472043 - head/sysutils/istatserver/files
Message-ID:  <201806090744.w597ihYp020836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: farrokhi
Date: Sat Jun  9 07:44:43 2018
New Revision: 472043
URL: https://svnweb.freebsd.org/changeset/ports/472043

Log:
  sysutils/istatserver: Unbreak build on latest clang

Added:
  head/sysutils/istatserver/files/patch-src_Daemon.cpp   (contents, props changed)

Added: head/sysutils/istatserver/files/patch-src_Daemon.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/istatserver/files/patch-src_Daemon.cpp	Sat Jun  9 07:44:43 2018	(r472043)
@@ -0,0 +1,11 @@
+--- src/Daemon.cpp.orig	2018-06-09 07:03:35 UTC
++++ src/Daemon.cpp
+@@ -174,7 +174,7 @@ void Daemon::create(bool _back, const st
+ 	
+ 	length = offsetof(struct sockaddr_un, sun_path) + strlen(sockfile.c_str());
+ 	
+-	if (bind(unix_socket, (struct sockaddr *) &local, length) == -1)
++	if (::bind(unix_socket, (struct sockaddr *) &local, length) == -1)
+ 	{
+ 		cout << "Could not bind UNIX socket: " << strerror(errno) << endl;
+ 		exit(1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806090744.w597ihYp020836>