freebsd-ports/x11/nvidia-driver/files/patch-src::nv-freebsd.h
Kirill Ponomarev 509d4221d5 - Add patches to fix nvidia drivers after 502103
__FreeBSD_version

PR:		ports/63326
Submitted by:	maintainer
2004-02-25 13:05:12 +00:00

12 lines
276 B
C

--- src/nv-freebsd.h.orig Wed Feb 25 18:55:35 2004
+++ src/nv-freebsd.h Wed Feb 25 18:55:49 2004
@@ -217,7 +217,9 @@
} nvidia_softc_t;
+#if __FreeBSD_version < 502103
#define CDEV_MAJOR 180
+#endif
#define CDEV_CTL_MINOR 255
extern devclass_t nvidia_devclass;