mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 14:53:52 +00:00
Merge #69700: libX11: upstream patch to fix cross-compilation
... into staging
This commit is contained in:
commit
52af1d0930
@ -79,6 +79,13 @@ self: super:
|
||||
|
||||
libX11 = super.libX11.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
patches = [
|
||||
# Fixes an issue that happens when cross-compiling for us.
|
||||
(fetchpatch {
|
||||
url = "https://cgit.freedesktop.org/xorg/lib/libX11/patch/?id=0327c427d62f671eced067c6d9b69f4e216a8cac";
|
||||
sha256 = "11k2mx56hjgw886zf1cdf2nhv7052d5rggimfshg6lq20i38vpza";
|
||||
})
|
||||
];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
Loading…
Reference in New Issue
Block a user