Skip to content

Commit

Permalink
xorg.libX11: Fix spurious Xerror when running synchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
bobby285271 committed Nov 10, 2024
1 parent 4aa3656 commit 6ac7c0c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/servers/x11/xorg/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ self: super:

libX11 = super.libX11.overrideAttrs (attrs: {
outputs = [ "out" "dev" "man" ];
patches = [
# Fix spurious Xerror when running synchronized
# https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/264
(fetchpatch {
url = "https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/f3d6ebac35301d4ad068e307f0fbe6aa12ccbccb.patch";
hash = "sha256-wQNMsbQ+h9VlNiWr+r34AxvViC8fq02ZhcARRnw7O9k=";
})
];
configureFlags = attrs.configureFlags or []
++ malloc0ReturnsNullCrossFlag
++ lib.optional (stdenv.targetPlatform.useLLVM or false) "ac_cv_path_RAWCPP=cpp";
Expand Down

0 comments on commit 6ac7c0c

Please sign in to comment.