svn commit: r461501 - head/net/xprobe/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Feb 11 14:37:53 UTC 2018


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


More information about the svn-ports-head mailing list