svn commit: r329315 - head/devel/qt4-qtsolutions-singleapplication/files

Kris Moore kmoore at FreeBSD.org
Fri Oct 4 14:30:05 UTC 2013


Author: kmoore
Date: Fri Oct  4 14:30:04 2013
New Revision: 329315
URL: http://svnweb.freebsd.org/changeset/ports/329315

Log:
  - Fix building with clang on HEAD
  
  Approved by: maintainer

Added:
  head/devel/qt4-qtsolutions-singleapplication/files/patch-src__qtlocalpeer.cpp   (contents, props changed)
Deleted:
  head/devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp

Added: head/devel/qt4-qtsolutions-singleapplication/files/patch-src__qtlocalpeer.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/qt4-qtsolutions-singleapplication/files/patch-src__qtlocalpeer.cpp	Fri Oct  4 14:30:04 2013	(r329315)
@@ -0,0 +1,19 @@
+--- ./src/qtlocalpeer.cpp.orig	2011-06-03 10:11:13.000000000 +0000
++++ ./src/qtlocalpeer.cpp	2013-09-30 04:50:58.418156167 +0000
+@@ -41,6 +41,7 @@
+ #include "qtlocalpeer.h"
+ #include <QtCore/QCoreApplication>
+ #include <QtCore/QTime>
++#include <unistd.h>
+ 
+ #if defined(Q_OS_WIN)
+ #include <QtCore/QLibrary>
+@@ -93,7 +94,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