parent
3f86f21207
commit
46e98a907e
@ -6,6 +6,7 @@
|
||||
, ninja
|
||||
, libX11
|
||||
, mesa
|
||||
, libGL
|
||||
, wayland
|
||||
}:
|
||||
|
||||
@ -50,6 +51,10 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "0wvamjcfycd7rgk7v14g2rin55xin9rfkxmivyay3cm08vnl7y1d";
|
||||
};
|
||||
|
||||
# Add missing include
|
||||
# https://github.com/NVIDIA/egl-wayland/pull/24
|
||||
patches = [ ./eglmesaext.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@ -60,6 +65,7 @@ in stdenv.mkDerivation rec {
|
||||
eglexternalplatform
|
||||
libX11
|
||||
mesa
|
||||
libGL
|
||||
wayland
|
||||
];
|
||||
|
||||
|
12
pkgs/development/libraries/egl-wayland/eglmesaext.patch
Normal file
12
pkgs/development/libraries/egl-wayland/eglmesaext.patch
Normal file
@ -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
Block a user