Date: Sat, 3 May 2014 18:58:38 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r352932 - branches/2014Q2/net-p2p/verlihub/files Message-ID: <201405031858.s43IwcW4007725@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sat May 3 18:58:38 2014 New Revision: 352932 URL: http://svnweb.freebsd.org/changeset/ports/352932 QAT: https://qat.redports.org/buildarchive/r352932/ Log: MFH: r352923 Import upstream commit to fix the build with recent versions of GCC. getcwd(3) needs unistd.h. Approved by: portmgr (erwin) Added: branches/2014Q2/net-p2p/verlihub/files/patch-src__stringutils.cpp - copied unchanged from r352923, head/net-p2p/verlihub/files/patch-src__stringutils.cpp Modified: Directory Properties: branches/2014Q2/ (props changed) Copied: branches/2014Q2/net-p2p/verlihub/files/patch-src__stringutils.cpp (from r352923, head/net-p2p/verlihub/files/patch-src__stringutils.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q2/net-p2p/verlihub/files/patch-src__stringutils.cpp Sat May 3 18:58:38 2014 (r352932, copy of r352923, head/net-p2p/verlihub/files/patch-src__stringutils.cpp) @@ -0,0 +1,19 @@ +commit 4d6a2ebf7e47b2854fdf4a9cc7daec625b035b3c +Author: Nimesh Ghelani <nimeshghelani@gmail.com> +Date: Sat Nov 10 01:47:07 2012 +0530 + + added unistd.h to stringutils.cpp causing compilation error + +diff --git a/src/stringutils.cpp b/src/stringutils.cpp +index 35d7d46..b020a79 100755 +--- src/stringutils.cpp ++++ src/stringutils.cpp +@@ -32,6 +32,8 @@ + #include <ctype.h> + #ifdef _WIN32 + #include <windows.h> ++#else ++#include <unistd.h> + #endif + + namespace nVerliHub {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405031858.s43IwcW4007725>