ports/182504: [PATCH] devel/qt4-qtsolutions-singleapplication: Fix build on 10.0-ALPHA4

Steve Wills swills at freebsd.org
Mon Sep 30 05:00:01 UTC 2013


>Number:         182504
>Category:       ports
>Synopsis:       [PATCH] devel/qt4-qtsolutions-singleapplication: Fix build on 10.0-ALPHA4
>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:   Mon Sep 30 05:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-ALPHA4 amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #8 r255933M: Sun Sep 29 03:09:22 UTC
>Description:
- Fix build on 10.0-ALPHA4

Port maintainer (yurkis at gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- qt4-qtsolutions-singleapplication-20110722_1.patch begins here ---
Index: files/patch-src__qtlocalpeer.cpp
===================================================================
--- files/patch-src__qtlocalpeer.cpp	(revision 0)
+++ files/patch-src__qtlocalpeer.cpp	(working copy)
@@ -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);

Property changes on: files/patch-src__qtlocalpeer.cpp
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
--- qt4-qtsolutions-singleapplication-20110722_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list