commit:     210394bb3d1f6bab9adcbbd69d730a2246698464
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Mon Nov 27 15:02:40 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Nov 27 15:03:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=210394bb

gui-libs/xdg-desktop-portal-hyprland: dont add O3

Closes: https://bugs.gentoo.org/918630
Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../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
 }
 

Reply via email to