git: 38a27917d124 - main - x11-drivers/xlibre-xf86-video-intel: Fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Jun 2026 08:06:38 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=38a27917d124bcdd0383b7e3ce83a0903a976ee3
commit 38a27917d124bcdd0383b7e3ce83a0903a976ee3
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-06-07 08:01:07 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-06-07 08:01:07 +0000
x11-drivers/xlibre-xf86-video-intel: Fix build
With hat: xlibre
---
x11-drivers/xlibre-xf86-video-intel/Makefile | 2 +-
.../files/patch-meson.build | 26 ++++++++++++++--------
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/x11-drivers/xlibre-xf86-video-intel/Makefile b/x11-drivers/xlibre-xf86-video-intel/Makefile
index 5082943919fe..ea07679cfa8c 100644
--- a/x11-drivers/xlibre-xf86-video-intel/Makefile
+++ b/x11-drivers/xlibre-xf86-video-intel/Makefile
@@ -1,6 +1,6 @@
PORTNAME= xlibre-xf86-video-intel
PORTVERSION= 25.0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-drivers
MAINTAINER= xlibre@FreeBSD.org
diff --git a/x11-drivers/xlibre-xf86-video-intel/files/patch-meson.build b/x11-drivers/xlibre-xf86-video-intel/files/patch-meson.build
index 05b017ccad5f..1e22b1ce6214 100644
--- a/x11-drivers/xlibre-xf86-video-intel/files/patch-meson.build
+++ b/x11-drivers/xlibre-xf86-video-intel/files/patch-meson.build
@@ -1,14 +1,23 @@
---- meson.build.orig 2025-08-15 11:23:59 UTC
+--- meson.build.orig 2026-01-28 14:23:48 UTC
+++ meson.build
-@@ -91,9 +91,19 @@ endif
+@@ -23,6 +23,10 @@ pciaccess = dependency('pciaccess', version : '>= 0.10
+ pthreads = dependency('threads', required : true)
+ pciaccess = dependency('pciaccess', version : '>= 0.10', required : true)
+
++if dependency('pciaccess').found()
++ config.set('HAVE_PCI_DEVICE_IS_BOOT_DISPLAY',1)
++endif
++
+ x11 = dependency('x11', required : false)
+ xfixes = dependency('xfixes', required : false)
+ png = dependency('libpng', required : false)
+@@ -88,8 +92,18 @@ endif
error('xf86-video-intel depends upon atomic operations, which were not found for your compiler/cpu. Try compiling with -march=native, or install the libatomics-op-dev package.')
endif
-libudev = dependency('libudev', required : false)
-+libudev = dependency('libudev', required : get_option('udev') == 'true')
-if libudev.found()
-- config.set('HAVE_UDEV', 1)
--endif
++libudev = dependency('libudev', required : get_option('udev') == 'true')
+with_udev = false
+if get_option('udev') == 'auto'
+ if libudev.found()
@@ -20,11 +29,10 @@
+ with_udev = get_option('udev') == 'true'
+endif
+if with_udev
-+ config.set('HAVE_UDEV', 1)
-+endif
+ config.set('HAVE_UDEV', 1)
+ endif
- cpuid_code = '''
-@@ -183,7 +183,7 @@ man_config.set('filemansuffix', '5')
+@@ -180,7 +194,7 @@ man_config.set('filemansuffix', '5')
man_config = configuration_data()
man_config.set('appmansuffix', '1')
man_config.set('filemansuffix', '5')