Skip to content

Commit

Permalink
Update hyprland to v0.44.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dom0 committed Oct 7, 2024
1 parent 376dfe7 commit 73906b6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions srcpkgs/hyprland/patches/revert-c++26-log-on-musl.patch
Original file line number Diff line number Diff line change
@@ -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 <fstream>
#include <iostream>
-#include <fcntl.h>

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);
}

4 changes: 2 additions & 2 deletions srcpkgs/hyprland/template
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -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\""
Expand Down

0 comments on commit 73906b6

Please sign in to comment.