diff --git a/debian/patches/002-add-fortify-flags-for-subprojects.patch b/debian/patches/002-add-fortify-flags-for-subprojects.patch index 8cd0a78..9db96ec 100644 --- a/debian/patches/002-add-fortify-flags-for-subprojects.patch +++ b/debian/patches/002-add-fortify-flags-for-subprojects.patch @@ -5,14 +5,17 @@ Description: Add FORTIFY_SOURCE flag directly in Makefile Author: Alan M Varghese Last-Update: 2024-10-11 Forwarded: not-needed ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -85,7 +85,7 @@ - -Wno-missing-field-initializers - -Wno-narrowing +Index: hyprland/CMakeLists.txt +=================================================================== +--- hyprland.orig/CMakeLists.txt 2025-08-24 17:50:02.382289920 +0800 ++++ hyprland/CMakeLists.txt 2025-08-24 17:51:13.964464136 +0800 +@@ -92,7 +92,8 @@ -Wno-pointer-arith + -Wno-clobbered + -Wpedantic - -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=) -+ -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/= -D_FORTIFY_SOURCE=2) ++ -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/= ++ -D_FORTIFY_SOURCE=2) set(CMAKE_EXECUTABLE_ENABLE_EXPORTS TRUE) set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)