git: ba0baf3bc9b7 - main - audio/cmus: replace 0d52a1007da8 with upstream fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 00:55:39 UTC
The branch main has been updated by jbeich:

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

commit ba0baf3bc9b776bac9c8632131df9d9740e54c7e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-08 21:06:48 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-09 00:54:36 +0000

    audio/cmus: replace 0d52a1007da8 with upstream fix
---
 audio/cmus/Makefile         |  3 +++
 audio/cmus/distinfo         |  2 ++
 audio/cmus/files/patch-basu | 24 ------------------------
 3 files changed, 5 insertions(+), 24 deletions(-)

diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index be39f225d88b..2f1d48d81f45 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -4,6 +4,9 @@ DISTVERSION=	2.10.0
 PORTREVISION=	5
 CATEGORIES=	audio
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	7d3116962bd8.patch:-p1 # https://github.com/cmus/cmus/pull/1221
+
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Console-based music player with really cool features
 WWW=		https://cmus.github.io/
diff --git a/audio/cmus/distinfo b/audio/cmus/distinfo
index 64a84dbd69bc..103a8dbc64fb 100644
--- a/audio/cmus/distinfo
+++ b/audio/cmus/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1657177958
 SHA256 (cmus-cmus-v2.10.0_GH0.tar.gz) = ff40068574810a7de3990f4f69c9c47ef49e37bd31d298d372e8bcdafb973fff
 SIZE (cmus-cmus-v2.10.0_GH0.tar.gz) = 324121
+SHA256 (7d3116962bd8.patch) = 9f61d5402574eab21aae828265e3fc867f8aba7657c746fab96fd80b4f0d5a52
+SIZE (7d3116962bd8.patch) = 1065
diff --git a/audio/cmus/files/patch-basu b/audio/cmus/files/patch-basu
deleted file mode 100644
index cdd89e83f7e3..000000000000
--- a/audio/cmus/files/patch-basu
+++ /dev/null
@@ -1,24 +0,0 @@
-https://github.com/cmus/cmus/issues/1133
-
---- configure.orig	2021-01-22 19:34:38 UTC
-+++ configure
-@@ -289,7 +289,7 @@ check_vorbis()
- 
- check_libsystemd()
- {
--	pkg_config LIBSYSTEMD "libsystemd" || pkg_config LIBSYSTEMD "libelogind >= 239.3"
-+	pkg_config LIBSYSTEMD "libsystemd" || pkg_config LIBSYSTEMD "libelogind >= 239.3" || pkg_config LIBSYSTEMD "basu"
- 	return $?
- }
- 
---- mpris.c.orig	2021-01-22 19:34:38 UTC
-+++ mpris.c
-@@ -15,7 +15,7 @@
-  * along with this program; if not, see <http://www.gnu.org/licenses/>.
-  */
- 
--#include <systemd/sd-bus.h>
-+#include <basu/sd-bus.h>
- 
- #include "mpris.h"
- #include "ui_curses.h"