parent
3f86f21207
commit
46e98a907e
|
@ -6,6 +6,7 @@
|
||||||
, ninja
|
, ninja
|
||||||
, libX11
|
, libX11
|
||||||
, mesa
|
, mesa
|
||||||
|
, libGL
|
||||||
, wayland
|
, wayland
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -50,6 +51,10 @@ in stdenv.mkDerivation rec {
|
||||||
sha256 = "0wvamjcfycd7rgk7v14g2rin55xin9rfkxmivyay3cm08vnl7y1d";
|
sha256 = "0wvamjcfycd7rgk7v14g2rin55xin9rfkxmivyay3cm08vnl7y1d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Add missing include
|
||||||
|
# https://github.com/NVIDIA/egl-wayland/pull/24
|
||||||
|
patches = [ ./eglmesaext.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
@ -60,6 +65,7 @@ in stdenv.mkDerivation rec {
|
||||||
eglexternalplatform
|
eglexternalplatform
|
||||||
libX11
|
libX11
|
||||||
mesa
|
mesa
|
||||||
|
libGL
|
||||||
wayland
|
wayland
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/src/wayland-eglsurface.c b/src/wayland-eglsurface.c
|
||||||
|
index 01c9cb3..45736b0 100644
|
||||||
|
--- a/src/wayland-eglsurface.c
|
||||||
|
+++ b/src/wayland-eglsurface.c
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
+#include <EGL/eglmesaext.h>
|
||||||
|
|
||||||
|
#define WL_EGL_WINDOW_DESTROY_CALLBACK_SINCE 3
|
||||||
|
|
Loading…
Reference in New Issue