From owner-svn-ports-all@freebsd.org Sun Jul 8 11:15:52 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEDDE103A1A7; Sun, 8 Jul 2018 11:15:52 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C1AB8FBEE; Sun, 8 Jul 2018 11:15:52 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A4582543A; Sun, 8 Jul 2018 11:15:52 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w68BFqtP003394; Sun, 8 Jul 2018 11:15:52 GMT (envelope-from farrokhi@FreeBSD.org) Received: (from farrokhi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w68BFpXi003393; Sun, 8 Jul 2018 11:15:51 GMT (envelope-from farrokhi@FreeBSD.org) Message-Id: <201807081115.w68BFpXi003393@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: farrokhi set sender to farrokhi@FreeBSD.org using -f From: Babak Farrokhi Date: Sun, 8 Jul 2018 11:15:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474174 - in head/benchmarks/sipp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: farrokhi X-SVN-Commit-Paths: in head/benchmarks/sipp: . files X-SVN-Commit-Revision: 474174 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2018 11:15:52 -0000 Author: farrokhi Date: Sun Jul 8 11:15:51 2018 New Revision: 474174 URL: https://svnweb.freebsd.org/changeset/ports/474174 Log: benchmarks/sipp: PR: 222764 Submitted by: szabig Reported by: OlivierW Added: head/benchmarks/sipp/files/ head/benchmarks/sipp/files/patch-src_socket.cpp (contents, props changed) Modified: head/benchmarks/sipp/Makefile Modified: head/benchmarks/sipp/Makefile ============================================================================== --- head/benchmarks/sipp/Makefile Sun Jul 8 10:34:36 2018 (r474173) +++ head/benchmarks/sipp/Makefile Sun Jul 8 11:15:51 2018 (r474174) @@ -3,7 +3,7 @@ PORTNAME= sipp PORTVERSION= 3.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= benchmarks net MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/ Added: head/benchmarks/sipp/files/patch-src_socket.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/sipp/files/patch-src_socket.cpp Sun Jul 8 11:15:51 2018 (r474174) @@ -0,0 +1,11 @@ +--- src/socket.cpp.orig 2018-07-08 10:42:40 UTC ++++ src/socket.cpp +@@ -338,7 +338,7 @@ const char *sip_tls_error_string(SSL *ss + + static char* get_inet_address(const struct sockaddr_storage* addr, char* dst, int len) + { +- if (getnameinfo(_RCAST(struct sockaddr*, addr), sizeof(*addr), ++ if (getnameinfo(_RCAST(struct sockaddr*, addr), SOCK_ADDR_SIZE(addr), + dst, len, NULL, 0, NI_NUMERICHOST) != 0) { + snprintf(dst, len, "addr not supported"); + }