Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2026 14:08:33 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: eecdfa00d49a - main - graphics/drm-515-kmod: add extra patch to unbreak stable/14, and 14.4-R
Message-ID:  <69b41a61.34748.754b05f1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eecdfa00d49a5f608c34bfdb641e178d9933a66c

commit eecdfa00d49a5f608c34bfdb641e178d9933a66c
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:08:15 +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
---
 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
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b41a61.34748.754b05f1>