git: afa0003eb9f8 - main - audio/cava: include stdlib.h in config.c

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 01 May 2024 18:49:07 UTC
The branch main has been updated by eduardo:

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

commit afa0003eb9f8fe2cba7436e6e11956bce575f1fb
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-05-01 18:45:33 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-05-01 18:48:56 +0000

    audio/cava: include stdlib.h in config.c
    
    See also:       https://github.com/karlstav/cava/issues/560
    Approved by:    portmgr (blanket)
    Fixes:          fb5161ef96 "devel/iniparser: Update to 4.2"
---
 audio/cava/Makefile | 5 ++++-
 audio/cava/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/audio/cava/Makefile b/audio/cava/Makefile
index ba533cdb17b0..ded5d63ae716 100644
--- a/audio/cava/Makefile
+++ b/audio/cava/Makefile
@@ -1,8 +1,11 @@
 PORTNAME=	cava
 DISTVERSION=	0.10.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 
+PATCH_SITES=    https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=     e23ebaf0a9d87cdfe0fe57c40722a66411a18a21.patch:-p1 # include stdlib.h in config.c; https://github.com/karlstav/cava/issues/560
+
 MAINTAINER=	vendion@gmail.com
 COMMENT=	Cross-platform Audio Visualizer
 WWW=		https://github.com/karlstav/cava
diff --git a/audio/cava/distinfo b/audio/cava/distinfo
index ef6d5bd01cc9..4743d9acf0c5 100644
--- a/audio/cava/distinfo
+++ b/audio/cava/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1707006507
+TIMESTAMP = 1714587969
 SHA256 (karlstav-cava-0.10.1_GH0.tar.gz) = a3a60814326fa34b54e93ce0b1e66460d55f1007e576c5152fd47024d9ceaff9
 SIZE (karlstav-cava-0.10.1_GH0.tar.gz) = 129520
+SHA256 (e23ebaf0a9d87cdfe0fe57c40722a66411a18a21.patch) = a182ab9bcaacf4c917c81a3b13ce97933b0f96a159ed7e6e7353d76796b9b8a5
+SIZE (e23ebaf0a9d87cdfe0fe57c40722a66411a18a21.patch) = 649