git: 2de2a79dd462 - main - audio/sayonara: repair build

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Mon, 01 Apr 2024 21:50:12 UTC
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2de2a79dd462cbdbaf244462d42d5ec0fbb1302f

commit 2de2a79dd462cbdbaf244462d42d5ec0fbb1302f
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2024-04-01 21:46:12 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2024-04-01 21:50:10 +0000

    audio/sayonara: repair build
    
    My own not-quite-13.2 systems build sayonara fine, but the cluster
    has been sending pkg-fallout messages. Make some types more obvious
    for the compiler.
---
 audio/sayonara/Makefile                                       |  1 +
 .../files/patch-src_Utils_Tagging_MP4_PopularimeterFrame.cpp  | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/audio/sayonara/Makefile b/audio/sayonara/Makefile
index 7d95b1f3ca31..4bc4672f6d79 100644
--- a/audio/sayonara/Makefile
+++ b/audio/sayonara/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	sayonara
 DISTVERSION=	1.9.0
 DISTVERSIONSUFFIX=	-stable1
+PORTREVISION=	1
 CATEGORIES=	audio
 
 MAINTAINER=	adridg@FreeBSD.org
diff --git a/audio/sayonara/files/patch-src_Utils_Tagging_MP4_PopularimeterFrame.cpp b/audio/sayonara/files/patch-src_Utils_Tagging_MP4_PopularimeterFrame.cpp
new file mode 100644
index 000000000000..2f03e2410f2d
--- /dev/null
+++ b/audio/sayonara/files/patch-src_Utils_Tagging_MP4_PopularimeterFrame.cpp
@@ -0,0 +1,11 @@
+--- src/Utils/Tagging/MP4/PopularimeterFrame.cpp.orig	2024-04-01 19:55:44 UTC
++++ src/Utils/Tagging/MP4/PopularimeterFrame.cpp
+@@ -28,7 +28,7 @@ namespace
+ {
+ 	[[nodiscard]] int fourBytesToInteger(const int32_t fourBytes)
+ 	{
+-		const auto chars = std::array {
++		const auto chars = std::array<int32_t,3> {
+ 			(fourBytes >> 16) & 0xFF,
+ 			(fourBytes >> 8) & 0xFF,
+ 			(fourBytes & 0xFF)