From 210394bb3d1f6bab9adcbbd69d730a2246698464 Mon Sep 17 00:00:00 2001 From: Remigiusz Micielski Date: Mon, 27 Nov 2023 16:02:40 +0100 Subject: [PATCH] gui-libs/xdg-desktop-portal-hyprland: dont add O3 Closes: https://bugs.gentoo.org/918630 Signed-off-by: Remigiusz Micielski --- .../xdg-desktop-portal-hyprland-1.2.2.ebuild | 2 +- .../xdg-desktop-portal-hyprland-1.2.5.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild index 92f9bd43ff..d48d4a07ed 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild @@ -73,8 +73,8 @@ src_unpack() { } src_prepare() { - default eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch" + sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die "Sed failed" cmake_src_prepare } diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild index 92f9bd43ff..d48d4a07ed 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild @@ -73,8 +73,8 @@ src_unpack() { } src_prepare() { - default eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch" + sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die "Sed failed" cmake_src_prepare }