svn commit: r354533 - in head/devel/qt4-qtsolutions-soap: . files

Pietro Cerutti gahr at FreeBSD.org
Mon May 19 12:40:31 UTC 2014


Author: gahr
Date: Mon May 19 12:40:30 2014
New Revision: 354533
URL: http://svnweb.freebsd.org/changeset/ports/354533
QAT: https://qat.redports.org/buildarchive/r354533/

Log:
  - Attempt to fix build
  
  Reported by:	pkg-fallout

Added:
  head/devel/qt4-qtsolutions-soap/files/
  head/devel/qt4-qtsolutions-soap/files/patch-qtsingleapplication-src_qtlocalpeer.cpp   (contents, props changed)
Modified:
  head/devel/qt4-qtsolutions-soap/Makefile

Modified: head/devel/qt4-qtsolutions-soap/Makefile
==============================================================================
--- head/devel/qt4-qtsolutions-soap/Makefile	Mon May 19 12:38:22 2014	(r354532)
+++ head/devel/qt4-qtsolutions-soap/Makefile	Mon May 19 12:40:30 2014	(r354533)
@@ -2,11 +2,10 @@
 # $FreeBSD$
 
 MASTERDIR=	${.CURDIR}/../qt4-qtsolutions-singleapplication
-BROKEN=		Does not build
 
 .include	"${MASTERDIR}/Makefile"
 
-USE_QT4=	qmake_build moc_build rcc_build uic_build network xml gui
+USE_QT4?=	qmake_build moc_build rcc_build uic_build network xml gui
 
 PORTNAME=	qt4-qtsolutions-soap
 

Added: head/devel/qt4-qtsolutions-soap/files/patch-qtsingleapplication-src_qtlocalpeer.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/qt4-qtsolutions-soap/files/patch-qtsingleapplication-src_qtlocalpeer.cpp	Mon May 19 12:40:30 2014	(r354533)
@@ -0,0 +1,20 @@
+--- ../qtsingleapplication/src/qtlocalpeer.cpp.orig	2014-05-07 10:38:16.000000000 +0200
++++ ../qtsingleapplication/src/qtlocalpeer.cpp	2014-05-07 10:38:49.000000000 +0200
+@@ -49,6 +49,8 @@
+ static PProcessIdToSessionId pProcessIdToSessionId = 0;
+ #endif
+ #if defined(Q_OS_UNIX)
++#include <unistd.h>
++#include <sys/types.h>
+ #include <time.h>
+ #endif
+ 
+@@ -93,7 +95,7 @@
+         socketName += QLatin1Char('-') + QString::number(sessionId, 16);
+     }
+ #else
+-    socketName += QLatin1Char('-') + QString::number(::getuid(), 16);
++    socketName += QLatin1Char('-') + QString::number(getuid(), 16);
+ #endif
+ 
+     server = new QLocalServer(this);


More information about the svn-ports-all mailing list