git: 9ee9d985803d - main - graphics/egl-wayland: unbreak with libglvnd < 1.3.4 after 2aaa530553dd

Jan Beich jbeich at FreeBSD.org
Sat Sep 11 23:58:41 UTC 2021


The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ee9d985803d42f954be20b5e00c8ab898f159da

commit 9ee9d985803d42f954be20b5e00c8ab898f159da
Author:     Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-11 23:55:40 +0000
Commit:     Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-11 23:57:12 +0000

    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
---
 graphics/egl-wayland/Makefile | 2 ++
 graphics/egl-wayland/distinfo | 2 ++
 2 files changed, 4 insertions(+)

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


More information about the dev-commits-ports-main mailing list