Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 911597 | Differences between
and this patch

Collapse All | Expand All

(-)a/gui-wm/hyprland/hyprland-0.27.2-r1.ebuild (-1 / +5 lines)
Lines 73-81 pkg_setup() { Link Here
73
}
73
}
74
74
75
src_prepare() {
75
src_prepare() {
76
	if use video_cards_nvidia; then
76
if use video_cards_nvidia; then
77
		cd "${S}/subprojects/wlroots" || die
77
		cd "${S}/subprojects/wlroots" || die
78
		eapply "${S}/nix/wlroots-nvidia.patch"
78
		eapply "${S}/nix/wlroots-nvidia.patch"
79
		# https://bugs.gentoo.org/911597
80
		# https://github.com/hyprwm/Hyprland/pull/2874
81
		# https://github.com/hyprwm/Hyprland/blob/main/nix/wlroots.nix#L54
82
		sed -i -e 's/glFlush();/glFinish();/' render/gles2/renderer.c || die
79
		cd "${S}" || die
83
		cd "${S}" || die
80
	fi
84
	fi
81
85

Return to bug 911597