summaryrefslogtreecommitdiff
path: root/nonsystemd/sddm/sddm-fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/sddm/sddm-fix-build.patch')
-rw-r--r--nonsystemd/sddm/sddm-fix-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nonsystemd/sddm/sddm-fix-build.patch b/nonsystemd/sddm/sddm-fix-build.patch
new file mode 100644
index 000000000..8e6cde83e
--- /dev/null
+++ b/nonsystemd/sddm/sddm-fix-build.patch
@@ -0,0 +1,13 @@
+diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
+index 5f93a1b..d5f29a9 100644
+--- a/src/daemon/XorgDisplayServer.cpp
++++ b/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() {