From c3776b54adc4032401e23a14a76f2b746180970d Mon Sep 17 00:00:00 2001 From: Makrennel Date: Thu, 10 Oct 2024 00:22:37 +0100 Subject: [PATCH] Update hyprland to v0.44.1 --- .../files/strncpy-include-cstring.patch | 56 ------------------- srcpkgs/hyprland/template | 8 +-- 2 files changed, 2 insertions(+), 62 deletions(-) delete mode 100644 srcpkgs/hyprland/files/strncpy-include-cstring.patch diff --git a/srcpkgs/hyprland/files/strncpy-include-cstring.patch b/srcpkgs/hyprland/files/strncpy-include-cstring.patch deleted file mode 100644 index 87bd678..0000000 --- a/srcpkgs/hyprland/files/strncpy-include-cstring.patch +++ /dev/null @@ -1,56 +0,0 @@ -commit 2c93331ca20469582c57c8bcf834e2b0022cb598 -Author: Zach DeCook -Date: Fri Aug 9 08:53:44 2024 -0400 - - Include cstring whenever strncpy is used - - Fixes ppc64le build in alpine - -diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp -index c86406fc..5d5113b8 100644 ---- a/hyprctl/main.cpp -+++ b/hyprctl/main.cpp -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - using namespace Hyprutils::String; - - #include "Strings.hpp" -diff --git a/src/helpers/SdDaemon.cpp b/src/helpers/SdDaemon.cpp -index 25e0ca3b..48c23e6b 100644 ---- a/src/helpers/SdDaemon.cpp -+++ b/src/helpers/SdDaemon.cpp -@@ -8,6 +8,7 @@ - #include - #include - #include -+#include - - namespace Systemd { - int SdBooted(void) { -diff --git a/src/managers/EventManager.cpp b/src/managers/EventManager.cpp -index 75c98e2a..079a6b68 100644 ---- a/src/managers/EventManager.cpp -+++ b/src/managers/EventManager.cpp -@@ -8,6 +8,7 @@ - #include - #include - #include -+#include - - CEventManager::CEventManager() { - m_iSocketFD = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); -diff --git a/src/xwayland/Server.cpp b/src/xwayland/Server.cpp -index cec582f6..200bec70 100644 ---- a/src/xwayland/Server.cpp -+++ b/src/xwayland/Server.cpp -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - - // TODO: cleanup - static bool set_cloexec(int fd, bool cloexec) { diff --git a/srcpkgs/hyprland/template b/srcpkgs/hyprland/template index 1958ee6..17a427b 100644 --- a/srcpkgs/hyprland/template +++ b/srcpkgs/hyprland/template @@ -1,6 +1,6 @@ # Template file for 'hyprland' pkgname=hyprland -version=0.44.0 +version=0.44.1 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=c307e52d8f2554b02428926b87060c228472b09ca18fc0d928487aa92559104f +checksum=a901b9ce5dac48a2b92f287d902c5dc33a05e9946fd082c43142f205246dfc63 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" -DCMAKE_CXX_FLAGS=\"-lexecinfo\"" @@ -63,10 +63,6 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then depends+=" libexecinfo" fi -do_patch() { - [ "$XBPS_TARGET_LIBC" = "musl" ] && patch -Np1 -i $FILESDIR/strncpy-include-cstring.patch -d $wrksrc || echo "Not on musl, skipping patch" -} - post_install() { # license vlicense LICENSE