git: 01a1024ef989 - 2022Q1 - x11-wm/gamescope: check libliftoff package version after ef2d0a35dd40

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 11 Feb 2022 15:32:07 UTC
The branch 2022Q1 has been updated by jbeich:

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

commit 01a1024ef989e18d09b2a7b43a5d62601b0a133d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-02-11 12:16:11 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-11 15:31:10 +0000

    x11-wm/gamescope: check libliftoff package version after ef2d0a35dd40
    
    Dependency libliftoff found: NO found 0.1.0 but need: '>= 0.2.0' ; matched: '< 0.3.0'
    
    ../src/drm.cpp:1174:8: error: use of undeclared identifier 'liftoff_output_needs_composition'
                    if ( liftoff_output_needs_composition( drm->lo_output ) )
                         ^
    
    (cherry picked from commit 63b39d29994a75ce5696d3c1f0db9e4623f1d95d)
---
 x11-wm/gamescope/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile
index 39c862930839..b2d4a6d39af1 100644
--- a/x11-wm/gamescope/Makefile
+++ b/x11-wm/gamescope/Makefile
@@ -17,6 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	glslangValidator:graphics/glslang \
 		evdev-proto>0:devel/evdev-proto \
+		libliftoff>=0.2.0<0.3.0:graphics/libliftoff \
 		vulkan-headers>0:graphics/vulkan-headers \
 		wayland-protocols>=1.17:graphics/wayland-protocols \
 		wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots