Date: Thu, 12 Dec 2013 15:50:41 +0100 (CET) From: Mathieu Arnold <mat@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/184724: [PATCH] graphics/libecwj2: Fix build on 10. Message-ID: <20131212145041.B81EE14269C@aragorn.in.absolight.net> Resent-Message-ID: <201312121500.rBCF00sx063843@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 184724 >Category: ports >Synopsis: [PATCH] graphics/libecwj2: Fix build on 10. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 12 15:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 9.2-RELEASE i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.in.absolight.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC >Description: Fix build on 10. Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- libecwj2-3.3_1.patch begins here --- Index: files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp =================================================================== --- files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp (revision 336264) +++ files/patch-Source-C-NCSnet-NCScnet3-NCSProxy.cpp (working copy) @@ -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) --- libecwj2-3.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131212145041.B81EE14269C>