xorg.xf86videoxgi: add patch to fix build

This commit is contained in:
Robin Gloster 2016-08-29 08:25:12 +00:00
parent 56158004b5
commit 0865e22567
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -541,6 +541,17 @@ in
nativeBuildInputs = [args.autoreconfHook xorg.utilmacros];
};
xf86videoxgi = attrs: attrs // {
patches = [
# fixes invalid open mode
# https://cgit.freedesktop.org/xorg/driver/xf86-video-xgi/commit/?id=bd94c475035739b42294477cff108e0c5f15ef67
(args.fetchpatch {
url = "https://cgit.freedesktop.org/xorg/driver/xf86-video-xgi/patch/?id=bd94c475035739b42294477cff108e0c5f15ef67";
sha256 = "0myfry07655adhrpypa9rqigd6rfx57pqagcwibxw7ab3wjay9f6";
})
];
};
xwd = attrs: attrs // {
buildInputs = with xorg; attrs.buildInputs ++ [libXt libxkbfile];
};