git: a835676e2eac - main - x11-drivers/xorgxrdp[-devel]: unbreak build with DRI3 enabled after latest xorg update

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 05 Aug 2022 16:30:38 UTC
The branch main has been updated by fluffy:

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

commit a835676e2eacf4ce89effff1de3a61133c520794
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-08-05 16:29:29 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-08-05 16:30:30 +0000

    x11-drivers/xorgxrdp[-devel]: unbreak build with DRI3 enabled after latest xorg update
    
    Approved by:    portmgr blanket
---
 x11-drivers/xorgxrdp-devel/Makefile | 1 +
 x11-drivers/xorgxrdp/Makefile       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/x11-drivers/xorgxrdp-devel/Makefile b/x11-drivers/xorgxrdp-devel/Makefile
index c784dea753ad..192fc5bc980e 100644
--- a/x11-drivers/xorgxrdp-devel/Makefile
+++ b/x11-drivers/xorgxrdp-devel/Makefile
@@ -37,6 +37,7 @@ OPTIONS_DEFAULT=
 DRI3_DESC=	DRI3/Glamor OpenGL Support
 DRI3_CONFIGURE_ENABLE=	glamor
 DRI3_LIB_DEPENDS=	libepoxy.so:graphics/libepoxy
+DRI3_CFLAGS=		-I${LOCALBASE}/include/libdrm
 DRI3_SUB_FILES=		pkg-message
 
 post-patch-DEBUG-on:
diff --git a/x11-drivers/xorgxrdp/Makefile b/x11-drivers/xorgxrdp/Makefile
index cb929d3539d9..ffbe8de8c69b 100644
--- a/x11-drivers/xorgxrdp/Makefile
+++ b/x11-drivers/xorgxrdp/Makefile
@@ -35,6 +35,7 @@ OPTIONS_DEFAULT=
 DRI3_DESC=	DRI3/Glamor OpenGL Support
 DRI3_CONFIGURE_ENABLE=	glamor
 DRI3_LIB_DEPENDS=	libepoxy.so:graphics/libepoxy
+DRI3_CFLAGS=		-I${LOCALBASE}/include/libdrm
 DRI3_SUB_FILES=		pkg-message
 
 post-patch-DEBUG-on: