svn commit: r461508 - branches/2018Q1/net/xprobe/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Feb 11 15:33:43 UTC 2018


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;
+ 		}
+ 


More information about the svn-ports-branches mailing list