git: b9a34290c5ce - main - audio/libbs2b: Don't clip floating point samples

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 17 Dec 2023 19:05:31 UTC
The branch main has been updated by diizzy:

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

commit b9a34290c5ce02678b4cd0868cb53799e72e7458
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-12-16 15:33:16 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-12-17 19:04:30 +0000

    audio/libbs2b: Don't clip floating point samples
    
    Disable clamping as it causes incorrect behaviour
    While at it return port to pool as maintainer hasn't responded on
    multiple bug reports.
    
    Reference:
    https://github.com/strawberrymusicplayer/strawberry/issues/1320
    
    Source:
    https://github.com/alexmarsev/libbs2b/commit/5ca2d59888df047f1e4b028e3a2fd5be8b5a7277
    
    PR:             275403
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 audio/libbs2b/Makefile | 11 +++++++----
 audio/libbs2b/distinfo |  3 +++
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/audio/libbs2b/Makefile b/audio/libbs2b/Makefile
index eb238a15cda8..0771d1a30e9a 100644
--- a/audio/libbs2b/Makefile
+++ b/audio/libbs2b/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	libbs2b
-PORTVERSION=	3.1.0
-PORTREVISION=	7
+DISTVERSION=	3.1.0
+PORTREVISION=	8
 CATEGORIES=	audio
-MASTER_SITES=	SF/bs2b/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	SF/bs2b/${PORTNAME}/${DISTVERSION}
 
-MAINTAINER=	liangtai.s16@gmail.com
+PATCH_SITES=	https://github.com/alexmarsev/${PORTNAME}/commit/
+PATCHFILES=	5ca2d59888df047f1e4b028e3a2fd5be8b5a7277.patch:-p1
+
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Bauer Stereophonic-to-Binaural DSP
 WWW=		https://bs2b.sourceforge.net/
 
diff --git a/audio/libbs2b/distinfo b/audio/libbs2b/distinfo
index 5f10832d8050..d2a79a4f238d 100644
--- a/audio/libbs2b/distinfo
+++ b/audio/libbs2b/distinfo
@@ -1,2 +1,5 @@
+TIMESTAMP = 1701158474
 SHA256 (libbs2b-3.1.0.tar.bz2) = 4799974becdeeedf0db00115bc63f60ea3fe4b25f1dfdb6903505839a720e46f
 SIZE (libbs2b-3.1.0.tar.bz2) = 606283
+SHA256 (5ca2d59888df047f1e4b028e3a2fd5be8b5a7277.patch) = 6e059e81766449469de2e58f9d46fb1a01e2a7917af24e4bb25167b13bc73f93
+SIZE (5ca2d59888df047f1e4b028e3a2fd5be8b5a7277.patch) = 3183