aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrĂ© Silva <[email protected]>2024-04-13 22:13:08 +0100
committerGitHub <[email protected]>2024-04-13 22:13:08 +0100
commit61fe47189b885058157b23326118627ae61f3746 (patch)
tree076f82cae57ef397b265f2cd2db1c390ae41ce07
parent9e4b2efe7e24f7b21faefbd50a88f25b5185bc35 (diff)
downloadHyprland-61fe47189b885058157b23326118627ae61f3746.tar.gz
Hyprland-61fe47189b885058157b23326118627ae61f3746.zip
build: update asan patch (#5562)
-rw-r--r--scripts/hyprlandStaticAsan.diff17
1 files changed, 8 insertions, 9 deletions
diff --git a/scripts/hyprlandStaticAsan.diff b/scripts/hyprlandStaticAsan.diff
index 72a24914..5c1754b6 100644
--- a/scripts/hyprlandStaticAsan.diff
+++ b/scripts/hyprlandStaticAsan.diff
@@ -1,17 +1,16 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 71766a8c..bd8cdc0e 100755
+index 1190876d..0e7573f9 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -101,7 +101,7 @@ message(STATUS "Checking deps...")
- find_package(Threads REQUIRED)
- find_package(PkgConfig REQUIRED)
- find_package(OpenGL REQUIRED)
--pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-server wayland-client wayland-cursor wayland-protocols cairo libdrm xkbcommon libinput pango pangocairo pixman-1 hyprlang>=0.3.2 hyprcursor) # we do not check for wlroots, as we provide it ourselves
-+pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-server wayland-client wayland-cursor wayland-protocols cairo libdrm xkbcommon libinput pango pangocairo pixman-1 hyprlang>=0.3.2 hyprcursor libffi) # we do not check for wlroots, as we provide it ourselves
+@@ -110,6 +110,7 @@ pkg_check_modules(deps REQUIRED IMPORTED_TARGET
+ cairo pango pangocairo pixman-1
+ libdrm libinput hwdata libseat libdisplay-info libliftoff libudev gbm
+ hyprlang>=0.3.2 hyprcursor
++ libffi
+ )
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
-
-@@ -121,6 +121,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
+@@ -130,6 +131,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
message(STATUS "Enabling ASan")
target_link_libraries(Hyprland asan)