xtrans: fix darwin fortify crash in xorg-server

This commit is contained in:
Ihar Hrachyshka
2026-07-19 08:15:26 -04:00
parent 601488e046
commit 55e07b59cb

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
writeScript,
testers,
@@ -15,6 +16,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-+q/qFmvyRRoXPZ1ZM1KUDsZAQUXF0dpcITQjzk01npI=";
};
patches = [
# fix darwin crashes with fortify when using launchctl socket activation
(fetchpatch {
url = "https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/commit/79f6b0bfe2170496e8c37626043d009f4cd3f1e1.patch";
hash = "sha256-Y8QY1yAiOI/rSNi71/Qhsn6UEql556/pS2av7+vmGQA=";
})
];
strictDeps = true;
nativeBuildInputs = [ pkg-config ];