git: c1b003fbe85f - main - audio/milkytracker: Import an upstream patch

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Fri, 07 Jul 2023 06:40:24 UTC
The branch main has been updated by ehaupt:

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

commit c1b003fbe85f576029014577ffb66ce84f2ae420
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-07-07 06:38:36 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-07-07 06:38:41 +0000

    audio/milkytracker: Import an upstream patch
    
    Import an upstream patch that mitigates a startup crash for users
    running 12.4-STABLE.
    
    Notified by:    Tatsuki Makino <tatsuki_makino@hotmail.com>
---
 audio/milkytracker/Makefile | 4 ++++
 audio/milkytracker/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/audio/milkytracker/Makefile b/audio/milkytracker/Makefile
index 0f6cc91cb4ce..d491e3847752 100644
--- a/audio/milkytracker/Makefile
+++ b/audio/milkytracker/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	milkytracker
 PORTVERSION=	1.04.00
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	audio
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	7e9171488fc47ad2de646a4536794fda21e7303d.patch:-p1
+
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Music creation tool inspired by Fast Tracker 2
 WWW=		https://milkytracker.titandemo.org/
diff --git a/audio/milkytracker/distinfo b/audio/milkytracker/distinfo
index df3046e62f89..16c81a62717b 100644
--- a/audio/milkytracker/distinfo
+++ b/audio/milkytracker/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1688568917
+TIMESTAMP = 1688707675
 SHA256 (milkytracker-MilkyTracker-v1.04.00_GH0.tar.gz) = a0bfabcec5bdb64c83c1e08cd12d979fefc53fc41cafd07c67b640bd5ba0ec67
 SIZE (milkytracker-MilkyTracker-v1.04.00_GH0.tar.gz) = 3756275
+SHA256 (7e9171488fc47ad2de646a4536794fda21e7303d.patch) = cd7a06f10524ab1f13cafec8c2439f7285cf63bbe0e9b2a7ed57cadd10bae513
+SIZE (7e9171488fc47ad2de646a4536794fda21e7303d.patch) = 676