git: b34dda77fafb - main - audio/rsgain: Update to 3.7

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Tue, 02 Jun 2026 08:35:14 UTC
The branch main has been updated by jhale:

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

commit b34dda77fafbda9d368ff2c8dbd889e97877101f
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2026-06-02 07:12:15 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2026-06-02 07:33:40 +0000

    audio/rsgain: Update to 3.7
    
    https://github.com/complexlogic/rsgain/releases/tag/v3.7
---
 audio/rsgain/Makefile                 |  3 +--
 audio/rsgain/distinfo                 |  6 +++---
 audio/rsgain/files/patch-src_scan.cpp | 16 ----------------
 3 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/audio/rsgain/Makefile b/audio/rsgain/Makefile
index 229db92d8bf5..636c40b53921 100644
--- a/audio/rsgain/Makefile
+++ b/audio/rsgain/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	rsgain
-DISTVERSION=	3.6
-PORTREVISION=	1
+DISTVERSION=	3.7
 DISTVERSIONSUFFIX=	-source
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/complexlogic/rsgain/releases/download/v${DISTVERSION}/
diff --git a/audio/rsgain/distinfo b/audio/rsgain/distinfo
index 6970fd53fea1..fca4ef623dd2 100644
--- a/audio/rsgain/distinfo
+++ b/audio/rsgain/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739054801
-SHA256 (rsgain-3.6-source.tar.xz) = 26d46f1240a83366e82cbc9121a467fc1dcc977c7adfb4e15c99ead6b3d07ec8
-SIZE (rsgain-3.6-source.tar.xz) = 52168
+TIMESTAMP = 1780374473
+SHA256 (rsgain-3.7-source.tar.xz) = 54037f73ba6682f9b71b2265275f5f89de50b90b12d5af512287c60d9d52c9cc
+SIZE (rsgain-3.7-source.tar.xz) = 52012
diff --git a/audio/rsgain/files/patch-src_scan.cpp b/audio/rsgain/files/patch-src_scan.cpp
deleted file mode 100644
index 3d9dbb23b23f..000000000000
--- a/audio/rsgain/files/patch-src_scan.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix a segfault when calculating album loudness.
-
-PR: 278838
-Regressed by: https://github.com/complexlogic/rsgain/commit/63e87a4f7d3b5c816eab630fba41ba9a63b82519
-
---- src/scan.cpp.orig	2024-02-25 17:47:20 UTC
-+++ src/scan.cpp
-@@ -639,7 +639,7 @@ void ScanJob::calculate_album_loudness() 
-     std::vector<ebur128_state*> states(nb_states);
-     for (const Track &track : tracks)
-         if (track.result.track_loudness != -HUGE_VAL)
--            states.emplace_back(track.ebur128.get());
-+            states[(size_t) (&track - &tracks[0])] = track.ebur128.get();
- 
-     if (ebur128_loudness_global_multiple(states.data(), states.size(), &album_loudness) != EBUR128_SUCCESS)
-         album_loudness = config.target_loudness;