diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-05-03 15:58:23 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-05-03 15:58:23 +0000 |
commit | c4dbc2c799d09930fff8cad294c68010a094c69e (patch) | |
tree | 46c91663726e674efa0d1bf23e0b4e2eb26b2f3b /net-p2p | |
parent | 78a69b6da1f715f9c6c9432624d21f86cff8849c (diff) | |
download | ports-c4dbc2c799d09930fff8cad294c68010a094c69e.tar.gz ports-c4dbc2c799d09930fff8cad294c68010a094c69e.zip |
Import upstream commit to fix the build with recent versions of GCC.
getcwd(3) needs unistd.h.
MFH: 2014Q2
Notes
Notes:
svn path=/head/; revision=352923
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/verlihub/files/patch-src__stringutils.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-p2p/verlihub/files/patch-src__stringutils.cpp b/net-p2p/verlihub/files/patch-src__stringutils.cpp new file mode 100644 index 000000000000..f7206abf803b --- /dev/null +++ b/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 { |