Unverified Commit 4b5dc2b3 authored by Tristan Ross's avatar Tristan Ross Committed by GitHub
Browse files

kmscon: fix virtual terminal logout bug (#381512)

parents c03bce1b c8be082d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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)