xorg.mxfontscale: Fix segfault with some fonts.
The update to version 1.1.2 in 9c22c1b introduces a segfault when mkfontscale is processing fonts where the family name is missing. Applies a patch from Stefan Dirsch <sndirsch@suse.com> to be found at: https://bugs.freedesktop.org/show_bug.cgi?id=89409 Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
fe79bf34a5
commit
0ccf34039c
@ -61,6 +61,15 @@ in
|
|||||||
preBuild = "substituteInPlace mkfontdir.in --replace @bindir@ ${xorg.mkfontscale}/bin";
|
preBuild = "substituteInPlace mkfontdir.in --replace @bindir@ ${xorg.mkfontscale}/bin";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mkfontscale = attrs: attrs // {
|
||||||
|
patches = lib.singleton (args.fetchpatch {
|
||||||
|
name = "mkfontscale-fix-sig11.patch";
|
||||||
|
url = "https://bugs.freedesktop.org/attachment.cgi?id=113951";
|
||||||
|
sha256 = "0i2xf768mz8kvm7i514v0myna9m6jqw82f9a03idabdpamxvwnim";
|
||||||
|
});
|
||||||
|
patchFlags = [ "-p0" ];
|
||||||
|
};
|
||||||
|
|
||||||
libxcb = attrs : attrs // {
|
libxcb = attrs : attrs // {
|
||||||
nativeBuildInputs = [ args.python ];
|
nativeBuildInputs = [ args.python ];
|
||||||
configureFlags = "--enable-xkb";
|
configureFlags = "--enable-xkb";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user