mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
graphics/nvidia-drm-515-kmod: Fix build on current after ae38a1a1bfdf
Approved by: portmgr (blanket unbreak)
This commit is contained in:
parent
1b47158c70
commit
b48d56f686
@ -0,0 +1,14 @@
|
||||
--- nvidia-drm-conftest.h.orig 2024-02-22 01:03:15 UTC
|
||||
+++ nvidia-drm-conftest.h
|
||||
@@ -85,7 +85,11 @@
|
||||
|
||||
/* For nv_drm_gem_prime_force_fence_signal */
|
||||
#ifndef spin_is_locked
|
||||
+#if __FreeBSD_version < 1500018
|
||||
#define spin_is_locked(lock) mtx_owned(lock.m)
|
||||
+#else
|
||||
+#define spin_is_locked(lock) mtx_owned(lock)
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#ifndef rwsem_is_locked
|
Loading…
Reference in New Issue
Block a user