diff --git a/graphics/qt5-wayland/Makefile b/graphics/qt5-wayland/Makefile index fb2ae1578b82..7ee0e16dc648 100644 --- a/graphics/qt5-wayland/Makefile +++ b/graphics/qt5-wayland/Makefile @@ -1,26 +1,26 @@ PORTNAME= wayland DISTVERSION= ${QT5_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 wrapper for Wayland BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++11-lang gl gnome pkgconfig qmake:norecursive \ qt-dist:5,wayland xorg USE_GL= egl gl USE_GNOME= glib20 USE_QT= core dbus gui declarative \ buildtools_build qmake_build USE_XORG= x11 xcomposite QT_BINARIES= yes .include diff --git a/graphics/qt5-wayland/files/patch-src_hardwareintegration_compositor_linux-dmabuf-unstable-v1_linuxdmabuf.h b/graphics/qt5-wayland/files/patch-src_hardwareintegration_compositor_linux-dmabuf-unstable-v1_linuxdmabuf.h new file mode 100644 index 000000000000..eae8123a0da4 --- /dev/null +++ b/graphics/qt5-wayland/files/patch-src_hardwareintegration_compositor_linux-dmabuf-unstable-v1_linuxdmabuf.h @@ -0,0 +1,11 @@ +--- src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h.orig 2020-10-27 08:02:11 UTC ++++ src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h +@@ -44,6 +44,8 @@ + #include + #include + ++#include ++ + // compatibility with libdrm <= 2.4.74 + #ifndef DRM_FORMAT_RESERVED + #define DRM_FORMAT_RESERVED ((1ULL << 56) - 1)