Refresh patches

This commit is contained in:
Chow Loong Jin 2025-09-11 12:44:54 +08:00
parent b17371740a
commit 11b1b4aeaf
4 changed files with 16 additions and 16 deletions

View File

@ -7,12 +7,12 @@ Last-Update: 2024-10-11
Forwarded: not-needed
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 @@
--- hyprland.orig/CMakeLists.txt 2025-09-11 12:43:40.719566353 +0800
+++ hyprland/CMakeLists.txt 2025-09-11 12:44:01.750322633 +0800
@@ -93,7 +93,8 @@
-Wno-narrowing
-Wno-pointer-arith
-Wno-clobbered
-Wpedantic
- -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=)
+ -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=
+ -D_FORTIFY_SOURCE=2)

View File

@ -5,9 +5,9 @@ Author: Constantin Piber <cp.piber@gmail.com>
Forwarded: not-needed
Index: hyprland/src/helpers/Monitor.cpp
===================================================================
--- hyprland.orig/src/helpers/Monitor.cpp 2025-08-25 20:42:57.781890707 +0800
+++ hyprland/src/helpers/Monitor.cpp 2025-08-25 20:42:57.774890789 +0800
@@ -549,7 +549,8 @@
--- hyprland.orig/src/helpers/Monitor.cpp 2025-09-11 12:44:26.479036068 +0800
+++ hyprland/src/helpers/Monitor.cpp 2025-09-11 12:44:26.471036161 +0800
@@ -599,7 +599,8 @@
std::ranges::sort(sortedModes, sortFunc);
if (sortedModes.size() > 3)
sortedModes.erase(sortedModes.begin() + 3, sortedModes.end());

View File

@ -6,9 +6,9 @@ Author: Constantin Piber <cp.piber@gmail.com>
Forwarded: not-needed
Index: hyprland/hyprctl/main.cpp
===================================================================
--- hyprland.orig/hyprctl/main.cpp 2025-08-25 20:44:03.565115494 +0800
+++ hyprland/hyprctl/main.cpp 2025-08-25 20:44:03.556115600 +0800
@@ -268,7 +268,7 @@
--- hyprland.orig/hyprctl/main.cpp 2025-09-11 12:44:35.586930526 +0800
+++ hyprland/hyprctl/main.cpp 2025-09-11 12:44:35.579795828 +0800
@@ -270,7 +270,7 @@
sockaddr_un serverAddress = {0};
serverAddress.sun_family = AF_UNIX;
@ -19,8 +19,8 @@ Index: hyprland/hyprctl/main.cpp
Index: hyprland/src/xwayland/XWM.hpp
===================================================================
--- hyprland.orig/src/xwayland/XWM.hpp 2025-08-25 20:44:03.565115494 +0800
+++ hyprland/src/xwayland/XWM.hpp 2025-08-25 20:44:03.558523915 +0800
--- hyprland.orig/src/xwayland/XWM.hpp 2025-09-11 12:44:35.586930526 +0800
+++ hyprland/src/xwayland/XWM.hpp 2025-09-11 12:44:35.580353844 +0800
@@ -213,7 +213,7 @@
std::vector<SP<CX11DataOffer>> m_dndDataOffers;

View File

@ -6,9 +6,9 @@ Origin: https://github.com/cpiber/hyprland-ppa/blob/0dcd5f3101f7ced40879d0f34f33
Forwarded: no
Index: hyprland/hyprpm/src/core/PluginManager.cpp
===================================================================
--- hyprland.orig/hyprpm/src/core/PluginManager.cpp 2025-08-25 20:50:40.727438647 +0800
+++ hyprland/hyprpm/src/core/PluginManager.cpp 2025-08-25 20:51:56.057552224 +0800
@@ -389,6 +389,9 @@
--- hyprland.orig/hyprpm/src/core/PluginManager.cpp 2025-09-11 12:44:39.102889783 +0800
+++ hyprland/hyprpm/src/core/PluginManager.cpp 2025-09-11 12:44:39.097266413 +0800
@@ -391,6 +391,9 @@
eHeadersErrors CPluginManager::headersValid() {
const auto HLVER = getHyprlandVersion(false);
@ -18,7 +18,7 @@ Index: hyprland/hyprpm/src/core/PluginManager.cpp
if (!std::filesystem::exists(DataState::getHeadersPath() + "/share/pkgconfig/hyprland.pc"))
return HEADERS_MISSING;
@@ -461,6 +464,13 @@
@@ -463,6 +466,13 @@
std::filesystem::permissions(getTempRoot(), std::filesystem::perms::owner_all, std::filesystem::perm_options::replace);
}