Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102060776
D35950.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
829 B
Referenced Files
None
Subscribers
None
D35950.diff
View Options
diff --git a/sysutils/mbgtools/files/patch-mbgclock_mbgclock__main.c b/sysutils/mbgtools/files/patch-mbgclock_mbgclock__main.c
new file mode 100644
--- /dev/null
+++ b/sysutils/mbgtools/files/patch-mbgclock_mbgclock__main.c
@@ -0,0 +1,15 @@
+--- mbgclock/mbgclock_main.c.orig 2022-07-26 17:02:15 UTC
++++ mbgclock/mbgclock_main.c
+@@ -585,7 +585,11 @@ static device_method_t mbgclock_methods[] =
+
+
+
++DEFINE_CLASS_0( mbgclock, mbgclock_driver, mbgclock_methods, sizeof( struct mbgclock_softc ) );
++#if __FreeBSD_version >= 1400058
++DRIVER_MODULE( mbgclock, pci, mbgclock_driver, 0, 0 );
++#else
+ static devclass_t mbgclock_devclass;
+
+-DEFINE_CLASS_0( mbgclock, mbgclock_driver, mbgclock_methods, sizeof( struct mbgclock_softc ) );
+ DRIVER_MODULE( mbgclock, pci, mbgclock_driver, mbgclock_devclass, 0, 0 );
++#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 3:21 AM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14526537
Default Alt Text
D35950.diff (829 B)
Attached To
Mode
D35950: sysutils/mbgtools: Remove devclass from DRIVER_MODULE on recent main.
Attached
Detach File
Event Timeline
Log In to Comment