svn commit: r474174 - in head/benchmarks/sipp: . files
Babak Farrokhi
farrokhi at FreeBSD.org
Sun Jul 8 11:15:52 UTC 2018
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 <szabig at kgb.hu>
Reported by: OlivierW <olivierw1+bugzilla-freebsd at hotmail.com>
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");
+ }
More information about the svn-ports-all
mailing list