mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
- Attempt to fix build
Reported by: pkg-fallout
This commit is contained in:
parent
0f2e95622d
commit
d6f6fe9da0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354533
@ -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
|
||||
|
||||
|
@ -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);
|
Loading…
Reference in New Issue
Block a user