View | Details | Raw Unified | Return to bug 258346 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/libdrm/Makefile (-1 / +1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	libdrm
3
PORTNAME=	libdrm
4
PORTVERSION=	2.4.107
4
PORTVERSION=	2.4.107
5
PORTREVISION=	1
5
PORTEPOCH=	1
6
PORTEPOCH=	1
6
CATEGORIES=	graphics x11
7
CATEGORIES=	graphics x11
7
MASTER_SITES=	https://dri.freedesktop.org/libdrm/
8
MASTER_SITES=	https://dri.freedesktop.org/libdrm/
Lines 14-20 PATCHFILES+= e41ca0a00f88ef8.patch:-p1 Link Here
14
15
15
LICENSE=	MIT
16
LICENSE=	MIT
16
17
17
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
18
LIB_DEPENDS=	libpciaccess.so:devel/libpciaccess
18
LIB_DEPENDS=	libpciaccess.so:devel/libpciaccess
19
19
20
USES=		gnome meson pkgconfig tar:xz
20
USES=		gnome meson pkgconfig tar:xz
(-)b/graphics/libdrm/files/patch-meson.build (+18 lines)
Added Link Here
1
pthread-stubs >= 0.4 only passes -pthread, so use it directly.
2
3
--- meson.build.orig	2021-07-02 12:49:05 UTC
4
+++ meson.build
5
@@ -35,12 +35,8 @@ config.set10('UDEV', get_option('udev'))
6
 with_freedreno_kgsl = get_option('freedreno-kgsl')
7
 with_install_tests = get_option('install-test-programs')
8
 
9
-if ['freebsd', 'dragonfly', 'netbsd'].contains(host_machine.system())
10
-  dep_pthread_stubs = dependency('pthread-stubs', version : '>= 0.4')
11
-else
12
-  dep_pthread_stubs = []
13
-endif
14
 dep_threads = dependency('threads')
15
+dep_pthread_stubs = dep_threads
16
 
17
 cc = meson.get_compiler('c')
18
 

Return to bug 258346