aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-09-11 23:55:40 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-09-11 23:57:12 +0000
commit9ee9d985803d42f954be20b5e00c8ab898f159da (patch)
tree362e0c508cb2f3dcc121962f7824ac18b6d50531
parent485c91db0fbd2af3392f46f8cc5deaa5de60cb0a (diff)
downloadports-9ee9d985803d42f954be20b5e00c8ab898f159da.tar.gz
ports-9ee9d985803d42f954be20b5e00c8ab898f159da.zip
graphics/egl-wayland: unbreak with libglvnd < 1.3.4 after 2aaa530553dd
In file included from ../src/wayland-thread.c:29: In file included from ../include/wayland-egldisplay.h:31: ../include/wayland-eglhandle.h:112:9: error: unknown type name 'PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC' PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC streamImageConsumerConnect; ^ ../include/wayland-eglhandle.h:113:9: error: unknown type name 'PFNEGLSTREAMACQUIREIMAGENVPROC' PFNEGLSTREAMACQUIREIMAGENVPROC streamAcquireImage; ^ ../include/wayland-eglhandle.h:114:9: error: unknown type name 'PFNEGLSTREAMRELEASEIMAGENVPROC'; did you mean 'PFNEGLSTREAMFLUSHNVPROC'? PFNEGLSTREAMRELEASEIMAGENVPROC streamReleaseImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PFNEGLSTREAMFLUSHNVPROC /usr/local/include/EGL/eglext.h:1207:34: note: 'PFNEGLSTREAMFLUSHNVPROC' declared here typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMFLUSHNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); ^ Reported by: many
-rw-r--r--graphics/egl-wayland/Makefile2
-rw-r--r--graphics/egl-wayland/distinfo2
2 files changed, 4 insertions, 0 deletions
diff --git a/graphics/egl-wayland/Makefile b/graphics/egl-wayland/Makefile
index b787cd9a382e..13480b03c596 100644
--- a/graphics/egl-wayland/Makefile
+++ b/graphics/egl-wayland/Makefile
@@ -17,6 +17,8 @@ USE_GITHUB= yes
USE_GL= egl
USE_LDCONFIG= yes
GH_ACCOUNT= NVIDIA
+GH_TUPLE= KhronosGroup:EGL-Registry:745e9ad:egl_registry
+CPPFLAGS+= -I${WRKSRC_egl_registry}/api -isystem${LOCALBASE}/include
post-patch:
@${REINPLACE_CMD} -e "/install/s/datadir')/prefix'), 'libdata'/" \
diff --git a/graphics/egl-wayland/distinfo b/graphics/egl-wayland/distinfo
index 10df7a0f4bfa..8fe347ee882f 100644
--- a/graphics/egl-wayland/distinfo
+++ b/graphics/egl-wayland/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1630704333
SHA256 (NVIDIA-egl-wayland-1.1.8_GH0.tar.gz) = 12bee9accf121987b0f0d6fb1a4e3b1fc5855b116c50d8d9e035edd02c82f88c
SIZE (NVIDIA-egl-wayland-1.1.8_GH0.tar.gz) = 53776
+SHA256 (KhronosGroup-EGL-Registry-745e9ad_GH0.tar.gz) = 062ee7f4e30a867c6d6657bfe8b605536a176c8856136dfb26c9b96f326aeb07
+SIZE (KhronosGroup-EGL-Registry-745e9ad_GH0.tar.gz) = 3359483