pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sddm: Fix compilation once QTBUG-88431 got fixed



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Thu Sep 29 17:54:08 2022 +1300
Changeset:	2434f3363a1442e619e6dd7282aa0ca3a476f1b5

Modified Files:
	sddm/distinfo
	sddm/patches/patch-src_daemon_XorgDisplayServer.cpp

Log Message:
sddm: Fix compilation once QTBUG-88431 got fixed

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2434f3363a1442e619e6dd7282aa0ca3a476f1b5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sddm/distinfo                                       |  4 ++--
 sddm/patches/patch-src_daemon_XorgDisplayServer.cpp | 12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs:
diff --git a/sddm/distinfo b/sddm/distinfo
index 1c3f9063c1..26398bcd24 100644
--- a/sddm/distinfo
+++ b/sddm/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-RMD160 (sddm-0.19.0.tar.xz) = 933badadd73b3ca092a7e175ef12e2c52aa407a4
+BLAKE2s (sddm-0.19.0.tar.xz) = 3388e772781c683366ef7d7f521bcee39f4b5edb65933f16e62b95d0fb1221ac
 SHA512 (sddm-0.19.0.tar.xz) = 0a40816bc105a1e930fec2d65fabff0ae7e27c641235d90e41f6fbaa86af4bb774a9e30f7548ce2c6c791e6d4f8195b02afddedca60a9e7c77447702e728edc3
 Size (sddm-0.19.0.tar.xz) = 3406056 bytes
 SHA1 (patch-CMakeLists.txt) = 339bb1d639824f035cc18f6fe299790d99003993
@@ -10,6 +10,6 @@ SHA1 (patch-src_daemon_CMakeLists.txt) = 7a487d89ddf82d54a1d6c951978bebc464c4ee3
 SHA1 (patch-src_daemon_DaemonApp.cpp) = 12d86d2985cc3e96411d307ca4d724aae6494f13
 SHA1 (patch-src_daemon_Seat.cpp) = 310f1eb7b00a7c88fd431dcd391ef9860d0afac6
 SHA1 (patch-src_daemon_Seat.h) = b79641bcec9e4997a053db15ee3c5afee57b82ee
-SHA1 (patch-src_daemon_XorgDisplayServer.cpp) = aee5a79c3bffcb9685c91da8db5e3d6e273b75a3
+SHA1 (patch-src_daemon_XorgDisplayServer.cpp) = aeb78b7cd321d78dd9b986b2cd0e2dd96da39aab
 SHA1 (patch-src_helper_HelperApp.cpp) = 5822c14b72dda8f92d427cec69272e6e3cf4f6b2
 SHA1 (patch-src_helper_UserSession.cpp) = 4da90793d4d1b535562273a5f85c14e156973a9b
diff --git a/sddm/patches/patch-src_daemon_XorgDisplayServer.cpp b/sddm/patches/patch-src_daemon_XorgDisplayServer.cpp
index bc827804a4..4d2f675ce9 100644
--- a/sddm/patches/patch-src_daemon_XorgDisplayServer.cpp
+++ b/sddm/patches/patch-src_daemon_XorgDisplayServer.cpp
@@ -1,9 +1,19 @@
 $NetBSD$
 
-Patches from Fabian Vogt to retry starting the display server
+Fix compilation once QTBUG-88431 got fixed
+Also patches from Fabian Vogt to retry starting the display server
 
 --- src/daemon/XorgDisplayServer.cpp.orig	2020-11-03 09:49:10.000000000 +0000
 +++ src/daemon/XorgDisplayServer.cpp
+@@ -65,7 +65,7 @@ namespace SDDM {
+         // create a random hexadecimal number
+         const char *digits = "0123456789abcdef";
+         for (int i = 0; i < 32; ++i)
+-            m_cookie[i] = digits[dis(gen)];
++            m_cookie[i] = QLatin1Char(digits[dis(gen)]);
+     }
+ 
+     XorgDisplayServer::~XorgDisplayServer() {
 @@ -118,6 +118,11 @@ namespace SDDM {
          if (m_started)
              return false;


Home | Main Index | Thread Index | Old Index