Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 14:37:52 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461501 - head/net/xprobe/files
Message-ID:  <201802111437.w1BEbqeJ055697@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb 11 14:37:52 2018
New Revision: 461501
URL: https://svnweb.freebsd.org/changeset/ports/461501

Log:
  Fix build with Clang 6
  
  MFH:		2018Q1

Added:
  head/net/xprobe/files/patch-src-xplib-xp_lib.cc   (contents, props changed)

Added: head/net/xprobe/files/patch-src-xplib-xp_lib.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/xprobe/files/patch-src-xplib-xp_lib.cc	Sun Feb 11 14:37:52 2018	(r461501)
@@ -0,0 +1,11 @@
+--- src/xplib/xp_lib.cc.orig	2005-07-27 08:38:16 UTC
++++ src/xplib/xp_lib.cc
+@@ -82,7 +82,7 @@ int xp_lib::OpenUDPSocket(struct sockadd
+ 		return FAIL;
+ 	}
+ 	if (bind_sin != NULL)
+-		if (bind(sock, (struct sockaddr *)bind_sin, sizeof(struct sockaddr_in)) == -1) {
++		if (::bind(sock, (struct sockaddr *)bind_sin, sizeof(struct sockaddr_in)) == -1) {
+ 			return FAIL;
+ 		}
+ 



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