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.
This commit is contained in:
Adriaan de Groot 2024-04-01 23:46:12 +02:00
parent e7846fbea6
commit 2de2a79dd4
2 changed files with 12 additions and 0 deletions

View file

@ -1,6 +1,7 @@
PORTNAME= sayonara
DISTVERSION= 1.9.0
DISTVERSIONSUFFIX= -stable1
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= adridg@FreeBSD.org

View file

@ -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)