xorg.xtrans: backport xorg.libXfont build fix (#348994)

This commit is contained in:
kirillrdy 2024-10-17 06:05:08 +11:00 committed by GitHub
commit 0c82d4dcfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1123,6 +1123,15 @@ self: super:
xsetroot = addMainProgram super.xsetroot { };
xsm = addMainProgram super.xsm { };
xstdcmap = addMainProgram super.xstdcmap { };
xtrans = super.xtrans.overrideAttrs (attrs: {
patches = [
# https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/22
(fetchpatch {
url = "https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/commit/ae99ac32f61e0db92a45179579030a23fe1b5770.patch";
hash = "sha256-QnTTcZPd9QaHS5up4Ne7iuNL/OBu+DnzXprovWnW4cw=";
})
];
});
xwd = addMainProgram super.xwd { };
xwininfo = addMainProgram super.xwininfo { };
xwud = addMainProgram super.xwud { };