xorg.xtrans: backport xorg.libXfont build fix
Without the change the build of `xorg.libXfont` fails as:
> xtrans-1.5.1/include/X11/Xtrans/Xtrans.c: In function '_FontTransSelectTransport':
> xtrans-1.5.1/include/X11/Xtrans/Xtrans.c:165:10: error: 'i' undeclared (first use in this function)
> 165 | for (i = 0; i < PROTOBUFSIZE && protobuf[i] != '\0'; i++)
> | ^
This commit is contained in:
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user