svn commit: r484278 - in branches/2018Q4/net/x2goclient: . files

Koichiro Iwao meta at FreeBSD.org
Tue Nov 6 07:16:29 UTC 2018


Author: meta
Date: Tue Nov  6 07:16:28 2018
New Revision: 484278
URL: https://svnweb.freebsd.org/changeset/ports/484278

Log:
  MFH: r484262
  
  net/x2goclient: unbreak the build
  
  While here, adjust USES.
  
  PR:		232962
  Submitted by:	w.schwarzenfeld at utanet.at
  Approved by:	mentors (implicit)
  
  Approved by:	ports-secteam (miwi)

Modified:
  branches/2018Q4/net/x2goclient/Makefile
  branches/2018Q4/net/x2goclient/files/patch-src_sshprocess.cpp
Directory Properties:
  branches/2018Q4/   (props changed)

Modified: branches/2018Q4/net/x2goclient/Makefile
==============================================================================
--- branches/2018Q4/net/x2goclient/Makefile	Tue Nov  6 06:02:27 2018	(r484277)
+++ branches/2018Q4/net/x2goclient/Makefile	Tue Nov  6 07:16:28 2018	(r484278)
@@ -12,8 +12,6 @@ COMMENT=	Qt client for the X2Go system
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN=		fails to build
-
 # Avoid clash with libssh from base
 BUILD_DEPENDS=	${LOCALBASE}/lib/libssh.so:security/libssh
 LIB_DEPENDS=	libcups.so:print/cups \
@@ -22,8 +20,8 @@ RUN_DEPENDS=	nxproxy:net/nxproxy \
 		x2goclient-cli:net/x2goclient-cli
 
 USES=		qmake qt:4
-USE_XORG=	xpm
-USE_QT=		gui network svg \
+USE_XORG=	x11 xpm
+USE_QT=		corelib gui network svg \
 		linguisttools_build moc_build rcc_build uic_build
 QMAKE_ARGS=	QMAKE_LRELEASE="${LRELEASE}"
 

Modified: branches/2018Q4/net/x2goclient/files/patch-src_sshprocess.cpp
==============================================================================
--- branches/2018Q4/net/x2goclient/files/patch-src_sshprocess.cpp	Tue Nov  6 06:02:27 2018	(r484277)
+++ branches/2018Q4/net/x2goclient/files/patch-src_sshprocess.cpp	Tue Nov  6 07:16:28 2018	(r484278)
@@ -1,4 +1,4 @@
---- src/sshprocess.cpp.orig	2016-03-24 20:39:27 UTC
+--- src/sshprocess.cpp.orig	2018-11-04 13:15:51 UTC
 +++ src/sshprocess.cpp
 @@ -24,6 +24,9 @@
  
@@ -10,6 +10,15 @@
  #include <arpa/inet.h>
  #include <netinet/tcp.h>
  #endif
+@@ -140,7 +143,7 @@ void SshProcess::tunnelLoop()
+     address.sin_family=AF_INET;
+     address.sin_addr.s_addr=INADDR_ANY;
+     address.sin_port=htons(localPort);
+-    if (bind(serverSocket,(struct sockaddr*) &address,sizeof(address))!=0)
++    if (::bind(serverSocket,(struct sockaddr*) &address,sizeof(address))!=0)
+     {
+         QString err=tr("Error binding ")+localHost+":"+QString::number(localPort);
+         x2goDebug<<err<<endl;
 @@ -200,7 +203,7 @@ void SshProcess::startNormal(const QStri
  // #endif
      if(!masterCon->useKerberos())


More information about the svn-ports-branches mailing list