Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2014 15:58:24 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352923 - head/net-p2p/verlihub/files
Message-ID:  <201405031558.s43FwOjj031794@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sat May  3 15:58:23 2014
New Revision: 352923
URL: http://svnweb.freebsd.org/changeset/ports/352923
QAT: https://qat.redports.org/buildarchive/r352923/

Log:
  Import upstream commit to fix the build with recent versions of GCC.
  
  getcwd(3) needs unistd.h.
  
  MFH:		2014Q2

Added:
  head/net-p2p/verlihub/files/patch-src__stringutils.cpp   (contents, props changed)

Added: head/net-p2p/verlihub/files/patch-src__stringutils.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/verlihub/files/patch-src__stringutils.cpp	Sat May  3 15:58:23 2014	(r352923)
@@ -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?201405031558.s43FwOjj031794>