git: 90f825e3e5b4 - 2026Q1 - graphics/drm-515-kmod: add extra patch to unbreak stable/14, and 14.4-R
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Mar 2026 14:13:08 UTC
The branch 2026Q1 has been updated by bz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=90f825e3e5b474db7018500adf86b9ccdeb1cf14
commit 90f825e3e5b474db7018500adf86b9ccdeb1cf14
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-03-13 13:41:16 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-03-13 14:12:41 +0000
graphics/drm-515-kmod: add extra patch to unbreak stable/14, and 14.4-R
Conditionally apply the patch from 26b48400ee94 to avoid conflicts with
an updated LinuxKPI. This should make this port both build and work again.
The patch is conditional still as 14.3-R does not, but stable/14 and 14.4-R
do have the LinuxKPI changes.
Sponsored by: The FreeBSD Foundation
PR: 290432
Reported by: gja822@narod.ru
(cherry picked from commit eecdfa00d49a5f608c34bfdb641e178d9933a66c)
---
graphics/drm-515-kmod/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/graphics/drm-515-kmod/Makefile b/graphics/drm-515-kmod/Makefile
index 92567305369e..245598a08d04 100644
--- a/graphics/drm-515-kmod/Makefile
+++ b/graphics/drm-515-kmod/Makefile
@@ -1,6 +1,6 @@
PORTNAME= drm-515-kmod
PORTVERSION= ${DRM_KMOD_DISTVERSION}
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= graphics kld
.include "Makefile.version"
@@ -40,8 +40,8 @@ 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
-# LinuxKPI PCI changes. We cannot apply them to drm-kmod yet as it would break 14.x.
+.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500065 || \
+ (${OSVERSION} < 1500000 && ${OSVERSION} >= 1403508))
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-linuxkpi-pci
.endif