summaryrefslogtreecommitdiff
path: root/user/lxqt-session/fix-chrono.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2021-07-27 23:41:01 +0000
committerZach van Rijn <me@zv.io>2021-07-27 23:41:01 +0000
commitdbf2ee8a4c30d9326a182f421fbc2e5b58f9fc6d (patch)
treef0b5cb765c7f5a5ad19dd7db8303e1816ba9ebdf /user/lxqt-session/fix-chrono.patch
parentcb89ebf6d88ee2ce9c87fbfc27d75fa65b3baa48 (diff)
parenteff1c3c87532b591492fec9e3952425e199547a9 (diff)
downloadpackages-dbf2ee8a4c30d9326a182f421fbc2e5b58f9fc6d.tar.gz
packages-dbf2ee8a4c30d9326a182f421fbc2e5b58f9fc6d.tar.bz2
packages-dbf2ee8a4c30d9326a182f421fbc2e5b58f9fc6d.tar.xz
packages-dbf2ee8a4c30d9326a182f421fbc2e5b58f9fc6d.zip
Merge branch 'aerdan/20210721' into 'master'
Bump packages owned by Síle See merge request adelie/packages!619
Diffstat (limited to 'user/lxqt-session/fix-chrono.patch')
-rw-r--r--user/lxqt-session/fix-chrono.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/user/lxqt-session/fix-chrono.patch b/user/lxqt-session/fix-chrono.patch
new file mode 100644
index 000000000..ea1e66048
--- /dev/null
+++ b/user/lxqt-session/fix-chrono.patch
@@ -0,0 +1,19 @@
+diff -Nurd lxqt-session-0.17.0/lxqt-session/src/procreaper.cpp lxqt-session-0.17.0.new/lxqt-session/src/procreaper.cpp
+--- lxqt-session-0.17.0/lxqt-session/src/procreaper.cpp 2021-04-13 17:37:02.000000000 +0000
++++ lxqt-session-0.17.0.new/lxqt-session/src/procreaper.cpp 2021-07-21 09:20:28.959046533 +0000
+@@ -58,7 +58,7 @@
+ if (pid <= 0)
+ {
+ QMutexLocker guard{&mMutex};
+- mWait.wait(&mMutex, std::chrono::seconds(1));
++ mWait.wait(&mMutex, std::chrono::seconds(1).count());
+ }
+
+ int status;
+@@ -111,5 +111,5 @@
+ QMutexLocker guard{&mMutex};
+ mShouldRun = false;
+ }
+- QThread::wait(std::chrono::seconds(5));
++ QThread::wait(std::chrono::seconds(5).count());
+ }