summaryrefslogtreecommitdiff
path: root/dev-qt/qtsingleapplication/files/2.6.1_p20130904-unbundle-qtlockedfile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-13 16:12:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-13 16:12:29 +0100
commitd6b74dc5c3dc80dba21e4eba006c3509b75a062c (patch)
tree1d96b246fe3593fd4b24d27cf95d6ff3b2134296 /dev-qt/qtsingleapplication/files/2.6.1_p20130904-unbundle-qtlockedfile.patch
parentd7af13346946a4667686842e79e7a82736a3085b (diff)
dev-qt : clean category, leave only actually used ebuilds
Diffstat (limited to 'dev-qt/qtsingleapplication/files/2.6.1_p20130904-unbundle-qtlockedfile.patch')
-rw-r--r--dev-qt/qtsingleapplication/files/2.6.1_p20130904-unbundle-qtlockedfile.patch81
1 files changed, 0 insertions, 81 deletions
diff --git a/dev-qt/qtsingleapplication/files/2.6.1_p20130904-unbundle-qtlockedfile.patch b/dev-qt/qtsingleapplication/files/2.6.1_p20130904-unbundle-qtlockedfile.patch
deleted file mode 100644
index 93c78fab..00000000
--- a/dev-qt/qtsingleapplication/files/2.6.1_p20130904-unbundle-qtlockedfile.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 62210d463f87abb0584ce699915e1845cacaa480 Mon Sep 17 00:00:00 2001
-From: Davide Pesavento <davidepesa@gmail.com>
-Date: Sat, 28 Dec 2013 16:33:15 +0100
-Subject: [PATCH] unbundle qtlockedfile
-
----
- src/qtlocalpeer.cpp | 11 +----------
- src/qtlocalpeer.h | 2 +-
- src/qtsingleapplication.pri | 1 +
- src/qtsinglecoreapplication.pri | 1 +
- 4 files changed, 4 insertions(+), 11 deletions(-)
-
-diff --git a/src/qtlocalpeer.cpp b/src/qtlocalpeer.cpp
-index 332b064..f17e662 100644
---- a/src/qtlocalpeer.cpp
-+++ b/src/qtlocalpeer.cpp
-@@ -55,15 +55,6 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
- #include <unistd.h>
- #endif
-
--namespace QtLP_Private {
--#include "qtlockedfile.cpp"
--#if defined(Q_OS_WIN)
--#include "qtlockedfile_win.cpp"
--#else
--#include "qtlockedfile_unix.cpp"
--#endif
--}
--
- const char* QtLocalPeer::ack = "ack";
-
- QtLocalPeer::QtLocalPeer(QObject* parent, const QString &appId)
-@@ -114,7 +105,7 @@ bool QtLocalPeer::isClient()
- if (lockFile.isLocked())
- return false;
-
-- if (!lockFile.lock(QtLP_Private::QtLockedFile::WriteLock, false))
-+ if (!lockFile.lock(QtLockedFile::WriteLock, false))
- return true;
-
- bool res = server->listen(socketName);
-diff --git a/src/qtlocalpeer.h b/src/qtlocalpeer.h
-index 1b533b1..1127735 100644
---- a/src/qtlocalpeer.h
-+++ b/src/qtlocalpeer.h
-@@ -68,7 +68,7 @@ protected:
- QString id;
- QString socketName;
- QLocalServer* server;
-- QtLP_Private::QtLockedFile lockFile;
-+ QtLockedFile lockFile;
-
- private:
- static const char* ack;
-diff --git a/src/qtsingleapplication.pri b/src/qtsingleapplication.pri
-index 6f2bced..02c9e5b 100644
---- a/src/qtsingleapplication.pri
-+++ b/src/qtsingleapplication.pri
-@@ -3,6 +3,7 @@ INCLUDEPATH += $$PWD
- DEPENDPATH += $$PWD
- QT *= network
- greaterThan(QT_MAJOR_VERSION, 4): QT *= widgets
-+CONFIG *= qtlockedfile
-
- qtsingleapplication-uselib:!qtsingleapplication-buildlib {
- LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME
-diff --git a/src/qtsinglecoreapplication.pri b/src/qtsinglecoreapplication.pri
-index d2d6cc3..f5b8414 100644
---- a/src/qtsinglecoreapplication.pri
-+++ b/src/qtsinglecoreapplication.pri
-@@ -4,6 +4,7 @@ HEADERS += $$PWD/qtsinglecoreapplication.h $$PWD/qtlocalpeer.h
- SOURCES += $$PWD/qtsinglecoreapplication.cpp $$PWD/qtlocalpeer.cpp
-
- QT *= network
-+CONFIG *= qtlockedfile
-
- win32:contains(TEMPLATE, lib):contains(CONFIG, shared) {
- DEFINES += QT_QTSINGLECOREAPPLICATION_EXPORT=__declspec(dllexport)
---
-1.8.5.2
-