[Bug 290432] graphics/drm-515-kmod no longer builds on FreeBSD-current

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290432

Bjoern A. Zeeb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|Closed                      |In Progress

--- Comment #21 from Bjoern A. Zeeb <[email protected]> ---
Can you try (just types in blindly without checking):

diff --git graphics/drm-515-kmod/Makefile graphics/drm-515-kmod/Makefile
index 92567305369e..d967e1baf180 100644
--- graphics/drm-515-kmod/Makefile
+++ graphics/drm-515-kmod/Makefile
@@ -40,7 +40,7 @@ IGNORE=               not supported on FreeBSD 16.0 and
higher
 IGNORE=                not supported on anything but FreeBSD (missing linuxkpi
functionality)
 .endif

-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500065
+.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500065 || (${OSVERSION} < 1500000
&& ${OSVERSION} >= 1403508))
 # LinuxKPI PCI changes. We cannot apply them to drm-kmod yet as it would break
14.x.
 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-linuxkpi-pci
 .endif

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.