Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2024 22:12:06 GMT
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b48d56f686b8 - main - graphics/nvidia-drm-515-kmod: Fix build on current after ae38a1a1bfdf
Message-ID:  <202405162212.44GMC6Cn042716@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jkim:

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

commit b48d56f686b861f6df627246cd4ffb1187497f0d
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2024-05-16 20:48:03 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2024-05-16 22:11:40 +0000

    graphics/nvidia-drm-515-kmod: Fix build on current after ae38a1a1bfdf
    
    Approved by:    portmgr (blanket unbreak)
---
 .../nvidia-drm-515-kmod/files/patch-nvidia-drm-conftest.h  | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/graphics/nvidia-drm-515-kmod/files/patch-nvidia-drm-conftest.h b/graphics/nvidia-drm-515-kmod/files/patch-nvidia-drm-conftest.h
new file mode 100644
index 000000000000..6809b4bfdfc0
--- /dev/null
+++ b/graphics/nvidia-drm-515-kmod/files/patch-nvidia-drm-conftest.h
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405162212.44GMC6Cn042716>