git: 5b5903965a72 - 2024Q1 - x11/waybar: backport CPU frequencey fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 05:25:51 UTC
The branch 2024Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b5903965a7227f09e7c74d8ca0ef9168abe0f7c

commit 5b5903965a7227f09e7c74d8ca0ef9168abe0f7c
Author:     Sheng-Yi Hong <aokblast@FreeBSD.org>
AuthorDate: 2024-02-22 01:08:17 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-02-23 05:25:46 +0000

    x11/waybar: backport CPU frequencey fix
    
    [warning] cpu/bsd: parseCpuFrequencies is not implemented, expect garbage in {*_frequency}
    
    (cherry picked from commit 64e0aba099da01e0d9281d1bed6a50c07e8136bf)
---
 x11/waybar/Makefile | 5 ++++-
 x11/waybar/distinfo | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile
index 15a8dc8eee49..05a388bbbf47 100644
--- a/x11/waybar/Makefile
+++ b/x11/waybar/Makefile
@@ -1,9 +1,12 @@
 PORTNAME=	waybar
 DISTVERSION=	0.9.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11 wayland
 PKGNAMESUFFIX=	${FLAVOR:N${FLAVORS:[1]}:C/.+/-${FLAVOR}/}
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	514d00803c91.patch:-p1 # https://github.com/Alexays/Waybar/pull/2949
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Highly customizable Wayland bar for Sway and wlroots-based compositors
 WWW=		https://github.com/Alexays/Waybar
diff --git a/x11/waybar/distinfo b/x11/waybar/distinfo
index 2eef355233ac..244d67ac4b5f 100644
--- a/x11/waybar/distinfo
+++ b/x11/waybar/distinfo
@@ -3,3 +3,5 @@ SHA256 (Alexays-Waybar-0.9.24_GH0.tar.gz) = 57aa7860bc066ebf4f3327dafa9841100b09
 SIZE (Alexays-Waybar-0.9.24_GH0.tar.gz) = 275416
 SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271
 SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803
+SHA256 (514d00803c91.patch) = fcf2b190530afaab38a0cb9207508b64cd5fd63ea863036d7563e5005adaa6f9
+SIZE (514d00803c91.patch) = 1387