You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/xvideoservicethief/files/xvideoservicethief-2.4.1-gc...

17 lines
654 B

Index: work/src/qtsingleapplication/src/qtlocalpeer.cpp
===================================================================
--- work.orig/src/qtsingleapplication/src/qtlocalpeer.cpp
+++ work/src/qtsingleapplication/src/qtlocalpeer.cpp
@@ -100,7 +100,11 @@ QtLocalPeer::QtLocalPeer(QObject* parent
socketName += QLatin1Char('-') + QString::number(sessionId, 16);
}
#else
+#if __GNUC__ >= 4 && __GNUC_MINOR__ <=6
socketName += QLatin1Char('-') + QString::number(::getuid(), 16);
+#else
+ socketName += QLatin1Char('-') + QString::number(QtLP_Private::getuid(), 16);
+#endif
#endif
server = new QLocalServer(this);