diff options
Diffstat (limited to 'source/kde')
-rw-r--r-- | source/kde/kde/build/sddm | 2 | ||||
-rw-r--r-- | source/kde/kde/patch/sddm.patch | 3 | ||||
-rw-r--r-- | source/kde/kde/patch/sddm/sddm.fix.build.diff | 11 |
3 files changed, 15 insertions, 1 deletions
diff --git a/source/kde/kde/build/sddm b/source/kde/kde/build/sddm index 7f8f011e..45a4fb75 100644 --- a/source/kde/kde/build/sddm +++ b/source/kde/kde/build/sddm @@ -1 +1 @@ -7 +8 diff --git a/source/kde/kde/patch/sddm.patch b/source/kde/kde/patch/sddm.patch index 5c905557..319bad68 100644 --- a/source/kde/kde/patch/sddm.patch +++ b/source/kde/kde/patch/sddm.patch @@ -9,3 +9,6 @@ cat $CWD/patch/sddm/sddm.do.not.source.HOME.xsession.diff | patch -p1 --verbose # List Wayland sessions after X11 sessions since Wayland is more experimental: cat $CWD/patch/sddm/sddm.list.X11.sessions.before.Wayland.Sessions.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + +# Fix build with Qt from git: +cat $CWD/patch/sddm/sddm.fix.build.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/kde/kde/patch/sddm/sddm.fix.build.diff b/source/kde/kde/patch/sddm/sddm.fix.build.diff new file mode 100644 index 00000000..b481cfa6 --- /dev/null +++ b/source/kde/kde/patch/sddm/sddm.fix.build.diff @@ -0,0 +1,11 @@ +--- ./src/daemon/XorgDisplayServer.cpp.orig 2020-11-03 03:49:10.000000000 -0600 ++++ ./src/daemon/XorgDisplayServer.cpp 2021-08-29 11:36:20.356811948 -0500 +@@ -65,7 +65,7 @@ + // 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() { |