git: 1a01638104b4 - main - graphics/libdrm: drop dependency on pthread-stubs
Jan Beich
jbeich at FreeBSD.org
Wed Sep 8 15:13:33 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1a01638104b4a6f4b72483d00ce817bb2a64c7a9
commit 1a01638104b4a6f4b72483d00ce817bb2a64c7a9
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-07 18:45:30 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-08 15:11:37 +0000
graphics/libdrm: drop dependency on pthread-stubs
Avoid empty private library (only passes -pthread) leaking into consumers.
PR: 258346
Tested by: Evgeniy Khramtsov
Approved by: manu
---
graphics/libdrm/Makefile | 5 ++++-
graphics/libdrm/distinfo | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/graphics/libdrm/Makefile b/graphics/libdrm/Makefile
index 1f2644e769ea..9918de1cc15d 100644
--- a/graphics/libdrm/Makefile
+++ b/graphics/libdrm/Makefile
@@ -2,16 +2,19 @@
PORTNAME= libdrm
PORTVERSION= 2.4.107
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics x11
MASTER_SITES= https://dri.freedesktop.org/libdrm/
+PATCH_SITES= https://gitlab.freedesktop.org/mesa/${PORTNAME:S/lib//}/-/commit/
+PATCHFILES+= 9ef84bbc6269.patch:-p1 # https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/193
+
MAINTAINER= x11 at FreeBSD.org
COMMENT= Userspace interface to kernel Direct Rendering Module services
LICENSE= MIT
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
LIB_DEPENDS= libpciaccess.so:devel/libpciaccess
USES= gnome meson pkgconfig tar:xz
diff --git a/graphics/libdrm/distinfo b/graphics/libdrm/distinfo
index 7d5263990ac3..efe94bc51ef6 100644
--- a/graphics/libdrm/distinfo
+++ b/graphics/libdrm/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1625235316
SHA256 (libdrm-2.4.107.tar.xz) = c554cef03b033636a975543eab363cc19081cb464595d3da1ec129f87370f888
SIZE (libdrm-2.4.107.tar.xz) = 425612
+SHA256 (9ef84bbc6269.patch) = 0a13be26f732946160c4516247ccafa0ea8d7561e8901308ca021905be5f8280
+SIZE (9ef84bbc6269.patch) = 4783
More information about the dev-commits-ports-all
mailing list