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,55 +1,55 @@ PORTNAME= xlibre-xf86-video-intel PORTVERSION= 25.0.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-drivers MAINTAINER= xlibre@FreeBSD.org COMMENT= XLibre legacy driver for Intel integrated graphics chipsets WWW= https://01.org/linuxgraphics/xf86-video-intel/ LICENSE= MIT # various LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= only Intel integrated GPUs on x86 are supported LIB_DEPENDS= libdrm_intel.so:graphics/libdrm \ libxcb-util.so:x11/xcb-util libXvMC.so:x11/libXvMC USES= localbase xlibre xlibre-cat:driver,meson USE_XORG= pciaccess pixman x11 xcb xinerama xrandr xdamage xcursor xtst xfixes xrender xscrnsaver xext xv CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no # XXX ports/242236 TEST_TARGET= check GH_TAGNAME= 4bbc49597c938cd0586e7bc0d722e10504ce11ac # XXX bug 214593: SNA crashes on pre-SandyBridge hardware MESON_ARGS+=-Ddefault-accel=uxa -Dbacklight-helper=false OPTIONS_DEFINE= TOOLS UDEV UMS VALGRIND XVMC OPTIONS_DEFAULT=UDEV XVMC UMS OPTIONS_SUB= yes TOOLS_DESC= Enables misc tools TOOLS_MESON_TRUE= tools UDEV_DESC= udev-based monitor hotplug detection UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_MESON_TRUE= udev XVMC_MESON_ENABLE= xvmc UMS_DESC= Userspace Mode Setting for old chips. UMS_LIB_DEPENDS= libxcb-util.so:x11/xcb-util libXvMC.so:x11/libXvMC UMS_MESON_TRUE= ums VALGRIND_DESC= Enable valgrindified ioctls for debugging VALGRIND_BUILD_DEPENDS= valgrind:devel/valgrind VALGRIND_MESON_TRUE= valgrind post-patch: .if ${MESON_ARGS:M-Ddefault-accel=uxa} @${REINPLACE_CMD} '/^Default/s/SNA/UXA/' ${WRKSRC}/man/intel.man .endif .include 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,35 +1,43 @@ ---- 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() + with_udev = true + else + with_udev = false + endif +else + 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') -man_config.set('drivermansuffix', '4') +man_config.set('drivermansuffix', '4x') man_config.set('miscmansuffix', '7') man_config.set('xservername', cc.get_define('__XSERVERNAME__',