aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichiro Iwao <meta@FreeBSD.org>2024-08-07 02:17:26 +0000
committerKoichiro Iwao <meta@FreeBSD.org>2024-08-07 02:23:40 +0000
commite714b6a4c526c57f37adf76efa629d065b4e3290 (patch)
treebc8489b178e9a6ab8383e7108377b4f3b7a683d2
parentcc5873e024b3bc2083ca437377d881a1b7d639eb (diff)
downloadports-e714b6a4c526c57f37adf76efa629d065b4e3290.tar.gz
ports-e714b6a4c526c57f37adf76efa629d065b4e3290.zip
x11-drivers/xorgxrdp: Fix build when DRI3=off
by applying patch from upstream. While here, adjust BUILD_DEPENDS for DRI3. PR: 280616 Obtained from: https://github.com/neutrinolabs/xorgxrdp/pull/330
-rw-r--r--x11-drivers/xorgxrdp/Makefile4
-rw-r--r--x11-drivers/xorgxrdp/distinfo4
2 files changed, 6 insertions, 2 deletions
diff --git a/x11-drivers/xorgxrdp/Makefile b/x11-drivers/xorgxrdp/Makefile
index 927e6621c4ce..8da6074a43d7 100644
--- a/x11-drivers/xorgxrdp/Makefile
+++ b/x11-drivers/xorgxrdp/Makefile
@@ -2,11 +2,12 @@ PORTNAME= xorgxrdp
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.2
# Be sure to bump PORTREVISION after xorg-server update to force rebuild
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11-drivers
DIST_SUBDIR= xrdp
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= 95ddf9c.patch:-p1
MAINTAINER= meta@FreeBSD.org
COMMENT= X.Org driver enabling use through an RDP session with xrdp
@@ -37,6 +38,7 @@ OPTIONS_DEFAULT= DRI3
DRI3_DESC= DRI3/Glamor OpenGL Support
DRI3_CONFIGURE_ENABLE= glamor
DRI3_LIB_DEPENDS= libepoxy.so:graphics/libepoxy
+DRI3_BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm.h:graphics/libdrm
DRI3_CFLAGS= -I${LOCALBASE}/include/libdrm
DRI3_SUB_FILES= pkg-message
diff --git a/x11-drivers/xorgxrdp/distinfo b/x11-drivers/xorgxrdp/distinfo
index 25cb729afd4c..81e34c4048d1 100644
--- a/x11-drivers/xorgxrdp/distinfo
+++ b/x11-drivers/xorgxrdp/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1722440048
+TIMESTAMP = 1722994869
SHA256 (xrdp/neutrinolabs-xorgxrdp-v0.10.2_GH0.tar.gz) = 5ffe2d71190a7246e1f0940e3c1558ff92a0b4c385c9f1c68ac3f9e23b75314b
SIZE (xrdp/neutrinolabs-xorgxrdp-v0.10.2_GH0.tar.gz) = 113066
SHA256 (xrdp/neutrinolabs-xrdp-v0.10.1_GH0.tar.gz) = dd04ac7151316916799e6a527e8bbef3752f79dd7c252ccc84490ad1d70bd178
SIZE (xrdp/neutrinolabs-xrdp-v0.10.1_GH0.tar.gz) = 1040247
+SHA256 (xrdp/95ddf9c.patch) = fc52af4ef4131c01bece5ddefd01646dce138a2987e49a50af4f6d54d5967466
+SIZE (xrdp/95ddf9c.patch) = 1088