Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 15:33:42 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r461508 - branches/2018Q1/net/xprobe/files
Message-ID:  <201802111533.w1BFXgQR085596@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb 11 15:33:42 2018
New Revision: 461508
URL: https://svnweb.freebsd.org/changeset/ports/461508

Log:
  MFH: r461501
  
  Fix build with Clang 6
  
  Approved by:	ports-secteam (blanket)

Added:
  branches/2018Q1/net/xprobe/files/patch-src-xplib-xp_lib.cc
     - copied unchanged from r461501, head/net/xprobe/files/patch-src-xplib-xp_lib.cc
Modified:
Directory Properties:
  branches/2018Q1/   (props changed)

Copied: branches/2018Q1/net/xprobe/files/patch-src-xplib-xp_lib.cc (from r461501, head/net/xprobe/files/patch-src-xplib-xp_lib.cc)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q1/net/xprobe/files/patch-src-xplib-xp_lib.cc	Sun Feb 11 15:33:42 2018	(r461508, copy of r461501, head/net/xprobe/files/patch-src-xplib-xp_lib.cc)
@@ -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?201802111533.w1BFXgQR085596>