@@ -4,6 +4,7 @@
44, libdwarf, libjpeg_turbo, libunwind, lzma, tinyxml, libX11
55, SDL2, SDL2_gfx, SDL2_image, SDL2_ttf
66, freeglut, mesa_glu
7+, fetchpatch
78}:
89
910mkDerivation rec {
@@ -17,6 +18,14 @@ mkDerivation rec {
1718 sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n";
1819 };
1920
21+ patches = [
22+ (fetchpatch {
23+ name = "fix-qt59.patch";
24+ url = "https://github.com/ValveSoftware/vogl/commit/be3d85f.patch";
25+ sha256 = "1yh4jd35mds337waqxdw3w22w7ghn05b5jm7fb4iihl39mhq6qyv";
26+ })
27+ ];
28+
2029 nativeBuildInputs = [ cmake pkgconfig ];
2130
2231 buildInputs = [