diff --git a/x11-drivers/xlibre-xf86-video-qxl/Makefile b/x11-drivers/xlibre-xf86-video-qxl/Makefile index cc5715421f1c..a6690bbaf178 100644 --- a/x11-drivers/xlibre-xf86-video-qxl/Makefile +++ b/x11-drivers/xlibre-xf86-video-qxl/Makefile @@ -1,38 +1,38 @@ PORTNAME= xlibre-xf86-video-qxl DISTVERSION= 25.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-drivers MAINTAINER= xlibre@FreeBSD.org COMMENT= XLibre X server -- QXL display driver WWW= https://github.com/X11Libre/xf86-video-qxl/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ spice-protocol>=0.12.10:devel/spice-protocol LIB_DEPENDS= libspice-server.so:devel/libspice-server \ libudev.so:devel/libudev-devd USES= localbase:ldflags pkgconfig python shebangfix tar:xz xorg \ xlibre-cat:driver USE_XORG= xfont2 python_OLD_CMD= /usr/bin/python SHEBANG_FILES= scripts/Xspice CONFIGURE_ARGS+= --enable-xspice OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d post-install: ${INSTALL_DATA} ${WRKSRC}/examples/spiceqxl.xorg.conf.example \ ${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d/spiceqxl.xorg.conf.example .include diff --git a/x11-drivers/xlibre-xf86-video-qxl/files/patch-configure.ac b/x11-drivers/xlibre-xf86-video-qxl/files/patch-configure.ac new file mode 100644 index 000000000000..59735067c1fb --- /dev/null +++ b/x11-drivers/xlibre-xf86-video-qxl/files/patch-configure.ac @@ -0,0 +1,15 @@ +--- configure.ac.orig 2025-12-18 18:16:59 UTC ++++ configure.ac +@@ -87,7 +87,11 @@ fi + DRM_MODE=no + fi + +-PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10]) ++PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10.0], [LIBPCIACCESS=yes], [LIBPCIACCESS=no]) ++if test "x$LIBPCIACCESS" = xyes; then ++ AC_DEFINE(HAVE_PCI_DEVICE_IS_BOOT_DISPLAY, 1, [libpciaccess support]) ++ CFLAGS="-DHAVE_PCI_DEVICE_IS_BOOT_DISPLAY=1 $CFLAGS" ++fi + + save_CFLAGS="$CFLAGS" + CFLAGS="$DRM_CFLAGS $CFLAGS"