kmscon: fix virtual terminal logout bug

Instead of bumping the version (I can't compile latest rev for now), I cherrypicked this specific commit as a patch.

It fixes the biggest dealbreaker when using it, which is hanging on logout.
This commit is contained in:
hustlerone
2025-02-16 01:25:13 +01:00
committed by hustlerone
parent 737972349b
commit c8be082d43
+7
View File
@@ -57,12 +57,19 @@ stdenv.mkDerivation rec {
libxslt # xsltproc
];
# Remove the patches attrlist once the package is bumped to something newer than both of these patches
patches = [
(fetchpatch {
name = "0001-tests-fix-warnings.patch";
url = "https://github.com/Aetf/kmscon/commit/b65f4269b03de580923ab390bde795e7956b633f.patch";
sha256 = "sha256-ngflPwmNMM/2JzhV+hHiH3efQyoSULfqEywzWox9iAQ=";
})
(fetchpatch {
# https://github.com/Aetf/kmscon/pull/96
name = "0002-runtime-fix-logout.patch";
url = "https://github.com/Aetf/kmscon/commit/a81941f4464e6f9cee75bfb8a1db88c253ede33d.patch";
sha256 = "sha256-geWu8MVsHKs8VHauh5Tf9eWJrdA5+0bPFAQ32T6Xsqg=";
})
];
# _FORTIFY_SOURCE requires compiling with optimization (-O)