Commit 1124a754 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

xorg.libpciaccess: backport patch for musl 1.2.4

parent 416f268c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -332,6 +332,13 @@ self: super:
  });

  libpciaccess = super.libpciaccess.overrideAttrs (attrs: {
    patches = attrs.patches or [] ++ [
      (fetchpatch {
        url = "https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/commit/833c86ce15cee2a84a37ae71015f236fd32615d9.patch";
        hash = "sha256-6koQV+Vse7/OWwuWYrWmBUebHBT+5F32Kkn9V9j+m+Q=";
      })
    ];

    buildInputs = lib.optionals stdenv.hostPlatform.isNetBSD (with netbsd; [ libarch libpci ]);

    meta = attrs.meta // {