Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2024 22:12:07 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: 7a9b9684e678 - main - graphics/nvidia-drm-61-kmod: Fix build on current after ae38a1a1bfdf
Message-ID:  <202405162212.44GMC72H042764@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=7a9b9684e678aaf366cdb4bf49e754dbcb9bc942

commit 7a9b9684e678aaf366cdb4bf49e754dbcb9bc942
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2024-05-16 22:00:33 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2024-05-16 22:11:40 +0000

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

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