Page MenuHomeFreeBSD

D44305.id135612.diff
No OneTemporary

D44305.id135612.diff

Index: graphics/nvidia-drm-510-kmod/files/patch-nvidia-drm-conftest.h
===================================================================
--- /dev/null
+++ graphics/nvidia-drm-510-kmod/files/patch-nvidia-drm-conftest.h
@@ -0,0 +1,14 @@
+--- nvidia-drm-conftest.h.orig 2024-03-11 17:52:16 UTC
++++ nvidia-drm-conftest.h
+@@ -122,11 +122,9 @@
+ */
+ #define drm_atomic_state_free drm_atomic_state_put
+
+-#if __FreeBSD_version < 1300000
+ /* redefine LIST_HEAD_INIT to the linux version */
+ #include <linux/list.h>
+ #define LIST_HEAD_INIT(name) LINUX_LIST_HEAD_INIT(name)
+-#endif
+
+ /*
+ * FreeBSD currently has only vmf_insert_pfn_prot defined, and it has a

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 8, 4:43 PM (7 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28475002
Default Alt Text
D44305.id135612.diff (665 B)

Event Timeline