Date: Fri, 15 Nov 2013 15:54:10 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333879 - head/sysutils/nfsping/files Message-ID: <201311151554.rAFFsApE071623@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Fri Nov 15 15:54:10 2013 New Revision: 333879 URL: http://svnweb.freebsd.org/changeset/ports/333879 Log: Fix build on 10 Added: head/sysutils/nfsping/files/patch-src__nfsping.h (contents, props changed) head/sysutils/nfsping/files/patch-src__util.c (contents, props changed) Added: head/sysutils/nfsping/files/patch-src__nfsping.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nfsping/files/patch-src__nfsping.h Fri Nov 15 15:54:10 2013 (r333879) @@ -0,0 +1,10 @@ +--- ./src/nfsping.h.orig 2013-10-17 23:14:46.000000000 -0500 ++++ ./src/nfsping.h 2013-11-15 09:52:50.587560177 -0600 +@@ -13,6 +13,7 @@ + #include <netinet/in.h> + #include <sys/types.h> + #include <sys/socket.h> ++#include <arpa/inet.h> + #include <netdb.h> + #include <unistd.h> + #include <math.h> Added: head/sysutils/nfsping/files/patch-src__util.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nfsping/files/patch-src__util.c Fri Nov 15 15:54:10 2013 (r333879) @@ -0,0 +1,11 @@ +--- ./src/util.c.orig 2013-11-15 09:53:06.149558492 -0600 ++++ ./src/util.c 2013-11-15 09:53:18.903559033 -0600 +@@ -123,7 +123,7 @@ + if (tmp) { + next->path = strdup(tmp); + /* the root filehandle in hex */ +- if (tmp = strtok(NULL, ":")) { ++ if ((tmp = strtok(NULL, ":"))) { + /* hex takes two characters for each byte */ + fsroot_len = strlen(tmp) / 2; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311151554.rAFFsApE071623>