aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn M. Harris Jr. <johnmh@johnmh.me>2024-07-22 09:05:28 -0700
committerJohn M. Harris Jr. <johnmh@johnmh.me>2024-07-22 09:05:28 -0700
commitf119322a6c9f0acf6e41e73dc00a708677c7e958 (patch)
treecf5b6723ad52a664e2ce3ddce47db87bbcb62262 /gui-apps
parentapp-text/vale: drop 3.6.0 (diff)
downloadguru-f119322a6c9f0acf6e41e73dc00a708677c7e958.tar.gz
guru-f119322a6c9f0acf6e41e73dc00a708677c7e958.tar.bz2
guru-f119322a6c9f0acf6e41e73dc00a708677c7e958.zip
gui-apps/hypridle: Fix CMakeLists patch, live
Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/hypridle/files/0002-fix-CFLAGS-CXXFLAGS-hypridle.patch12
-rw-r--r--gui-apps/hypridle/hypridle-9999.ebuild2
2 files changed, 13 insertions, 1 deletions
diff --git a/gui-apps/hypridle/files/0002-fix-CFLAGS-CXXFLAGS-hypridle.patch b/gui-apps/hypridle/files/0002-fix-CFLAGS-CXXFLAGS-hypridle.patch
new file mode 100644
index 000000000..d5b3d4f4b
--- /dev/null
+++ b/gui-apps/hypridle/files/0002-fix-CFLAGS-CXXFLAGS-hypridle.patch
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b7c9755..dd327cc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -14,7 +14,6 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
+ message(STATUS "Configuring hypridle in Debug with CMake")
+ add_compile_definitions(HYPRLAND_DEBUG)
+ else()
+- add_compile_options(-O3)
+ message(STATUS "Configuring hypridle in Release with CMake")
+ endif()
+
diff --git a/gui-apps/hypridle/hypridle-9999.ebuild b/gui-apps/hypridle/hypridle-9999.ebuild
index ff76295a1..7e8b0b19b 100644
--- a/gui-apps/hypridle/hypridle-9999.ebuild
+++ b/gui-apps/hypridle/hypridle-9999.ebuild
@@ -35,5 +35,5 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hypridle.patch"
+ "${FILESDIR}/0002-fix-CFLAGS-CXXFLAGS-hypridle.patch"
)