diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2013-12-27 17:31:10 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2013-12-27 17:31:10 +0000 |
commit | 68b925eab4982cc0e1d90ceb0ea424d03d80e530 (patch) | |
tree | be45cec710615ba96695bdc76b64dbca793e62c0 /graphics/libecwj2 | |
parent | 6bdfba77568cd33fecbd3b6692eb5957eebef1e9 (diff) |
Notes
Diffstat (limited to 'graphics/libecwj2')
-rw-r--r-- | graphics/libecwj2/files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/graphics/libecwj2/files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp b/graphics/libecwj2/files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp index 1fde51fca599..ae679c1013a9 100644 --- a/graphics/libecwj2/files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp +++ b/graphics/libecwj2/files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp @@ -1,6 +1,17 @@ --- Source/C/NCSnet/NCScnet3/NCSProxy.cpp.orig 2009-04-05 21:38:54.000000000 +0400 -+++ Source/C/NCSnet/NCScnet3/NCSProxy.cpp 2009-04-05 21:39:11.000000000 +0400 -@@ -639,7 +639,7 @@ ++++ Source/C/NCSnet/NCScnet3/NCSProxy.cpp 2013-12-12 15:30:11.000000000 +0100 +@@ -43,6 +43,10 @@ + #include <stdio.h> // for cuserid + #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + /** Dialog to prompt for Username and Password. + */ + bool NCSGetPasswordDlg( const char *pszSite, const char *pszRealm, string &sUsername, string &sPassword, bool &bRememberAuth ); +@@ -639,7 +643,7 @@ return(NCSStrDup(szNameBuf)); } #elif defined(POSIX) |