ports/184724: [PATCH] graphics/libecwj2: Fix build on 10.
Mathieu Arnold
mat at FreeBSD.org
Thu Dec 12 15:00:00 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list