From 73906b6c0376b58850dd39a406b27e2cf9bf475b Mon Sep 17 00:00:00 2001 From: Domenico Martella Date: Tue, 8 Oct 2024 00:21:32 +0200 Subject: [PATCH] Update hyprland to v0.44.0 --- .../patches/revert-c++26-log-on-musl.patch | 16 ++++++++++++++++ srcpkgs/hyprland/template | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/hyprland/patches/revert-c++26-log-on-musl.patch diff --git a/srcpkgs/hyprland/patches/revert-c++26-log-on-musl.patch b/srcpkgs/hyprland/patches/revert-c++26-log-on-musl.patch new file mode 100644 index 0000000..b3e0e6e --- /dev/null +++ b/srcpkgs/hyprland/patches/revert-c++26-log-on-musl.patch @@ -0,0 +1,16 @@ +diff --git a/src/debug/Log.cpp.old b/src/debug/Log.cpp +index a4c5b08e60b..0def77c003e 100644 +--- a/src/debug/Log.cpp.old ++++ b/src/debug/Log.cpp +@@ -6,11 +6,8 @@ + #include + #include +-#include + + void Debug::init(const std::string& IS) { + logFile = IS + (ISDEBUG ? "/hyprlandd.log" : "/hyprland.log"); + logOfs.open(logFile, std::ios::out | std::ios::app); +- auto handle = logOfs.native_handle(); +- fcntl(handle, F_SETFD, FD_CLOEXEC); + } + diff --git a/srcpkgs/hyprland/template b/srcpkgs/hyprland/template index 25644e0..1958ee6 100644 --- a/srcpkgs/hyprland/template +++ b/srcpkgs/hyprland/template @@ -1,6 +1,6 @@ # Template file for 'hyprland' pkgname=hyprland -version=0.42.0 +version=0.44.0 revision=1 build_style=cmake configure_args=" --no-warn-unused-cli \ @@ -55,7 +55,7 @@ license="BSD-3-Clause" homepage="https://hyprland.org/" changelog="https://github.com/hyprwm/Hyprland/releases" distfiles="https://github.com/hyprwm/Hyprland/releases/download/v${version}/source-v${version}.tar.gz" -checksum=278c137ad28f5e4ef9d65032b18cb230799c982d008654a90b5060dd32eaa54a +checksum=c307e52d8f2554b02428926b87060c228472b09ca18fc0d928487aa92559104f if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" -DCMAKE_CXX_FLAGS=\"-lexecinfo\""