git: afa68fcf2597 - main - audio/amsynth: Stop using namespace std

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 02 May 2024 10:00:57 UTC
The branch main has been updated by eduardo:

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

commit afa68fcf2597d688339477a1ad5e8032c9cddc87
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-05-02 09:58:00 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-05-02 10:00:35 +0000

    audio/amsynth: Stop using namespace std
    
    Apply upstream patch that unbreaks 15 builds.
    Using patch globally since there is plans to merge to next release.
    
    See also: https://github.com/amsynth/amsynth/issues/233
---
 audio/amsynth/Makefile | 4 ++++
 audio/amsynth/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/audio/amsynth/Makefile b/audio/amsynth/Makefile
index 337d5e0ced3b..b4099a35d9b2 100644
--- a/audio/amsynth/Makefile
+++ b/audio/amsynth/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	amsynth
 DISTVERSION=	1.13.3
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/amsynth/amsynth/releases/download/release-${DISTVERSION}/
 
+PATCH_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/commit/
+PATCHFILES=	6fb79100a6254220e5adc69a1428572539ecc377.patch:-p1 # Stop using namespace std; https://github.com/amsynth/amsynth/issues/233
+
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Analog modelling software synth
 WWW=		https://amsynth.github.io/
diff --git a/audio/amsynth/distinfo b/audio/amsynth/distinfo
index 1f8139b90fa0..57d5a5dde50a 100644
--- a/audio/amsynth/distinfo
+++ b/audio/amsynth/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1714165984
+TIMESTAMP = 1714642293
 SHA256 (amsynth-1.13.3.tar.gz) = 75f1056ffe18f3a0ee3af688c1019dc62abf1c7e2bd1c01cb45d2beb685fb8d0
 SIZE (amsynth-1.13.3.tar.gz) = 1641606
+SHA256 (6fb79100a6254220e5adc69a1428572539ecc377.patch) = 602bf735995f7c4b91735b6257262fff94e2da4c7895e75e6b8f381076e077e7
+SIZE (6fb79100a6254220e5adc69a1428572539ecc377.patch) = 19521