svn commit: r352923 - head/net-p2p/verlihub/files

Raphael Kubo da Costa rakuco at FreeBSD.org
Sat May 3 15:58:24 UTC 2014


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 at 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 {


More information about the svn-ports-head mailing list