diff options
author | rakuco <rakuco@FreeBSD.org> | 2014-05-03 23:58:23 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2014-05-03 23:58:23 +0800 |
commit | 63ce2c1fafe5a8a500de9242e86d68c44db4b9b3 (patch) | |
tree | 46c91663726e674efa0d1bf23e0b4e2eb26b2f3b /net-p2p | |
parent | bec646c31bbfb245255e698f9b9ab3e4b85e5c14 (diff) | |
download | freebsd-ports-gnome-63ce2c1fafe5a8a500de9242e86d68c44db4b9b3.tar.gz freebsd-ports-gnome-63ce2c1fafe5a8a500de9242e86d68c44db4b9b3.tar.zst freebsd-ports-gnome-63ce2c1fafe5a8a500de9242e86d68c44db4b9b3.zip |
Import upstream commit to fix the build with recent versions of GCC.
getcwd(3) needs unistd.h.
MFH: 2014Q2
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 { |