dbus-broker: fix test-sockopt on kernel 6.16+

Fixes #439331

backports https://github.com/bus1/dbus-broker/pull/409 to resolve:
- test_peerpidfd_client: Assertion `false && "r == SOCKOPT_E_REAPED"' failed.
- wait_and_verify: Assertion `false && "WIFEXITED(status)"' failed.
This commit is contained in:
Luna Nova
2025-09-13 16:46:03 -07:00
committed by chn
parent 35d2195c37
commit 3bd1118744

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
docutils,
meson,
ninja,
@@ -117,6 +118,11 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
./paths.patch
./disable-test.patch
(fetchpatch {
name = "backport-test-sockopt-6.16-fix.patch";
url = "https://github.com/bus1/dbus-broker/commit/fd5c6e191bffcf5b3e6c9abb8b0b03479accc04b.patch";
hash = "sha256-+QgZzm/qRnVSr0wDNw9Np3LRreRKl6CQXJextLPy6fc=";
})
];
nativeBuildInputs = [