diff options
author | Sheila Aman <sheila@vulpine.house> | 2021-07-21 09:22:34 +0000 |
---|---|---|
committer | Sheila Aman <sheila@vulpine.house> | 2021-07-21 09:22:34 +0000 |
commit | 96a2d84c51c65775ee529b69cbf02a0486e2d0c0 (patch) | |
tree | b8ffc41081151adc8078cf3de63dcfa2b5b2e7c1 /user/lxqt-session/fix-chrono.patch | |
parent | 1dc0aa11f964a0907fcbf210985eb42b2bf87436 (diff) | |
download | packages-96a2d84c51c65775ee529b69cbf02a0486e2d0c0.tar.gz packages-96a2d84c51c65775ee529b69cbf02a0486e2d0c0.tar.bz2 packages-96a2d84c51c65775ee529b69cbf02a0486e2d0c0.tar.xz packages-96a2d84c51c65775ee529b69cbf02a0486e2d0c0.zip |
user/lxqt-session: upgrade to 0.17.0
Diffstat (limited to 'user/lxqt-session/fix-chrono.patch')
-rw-r--r-- | user/lxqt-session/fix-chrono.patch | 19 |
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()); + } |