aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-07-08 21:06:48 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-07-09 00:54:36 +0000
commitba0baf3bc9b776bac9c8632131df9d9740e54c7e (patch)
tree62976e9582787009b3c3f6ce6a85476dffce26ff
parent5e8b4326f51fbb391c99f37ca39a7762c90dd35d (diff)
downloadports-ba0baf3bc9b776bac9c8632131df9d9740e54c7e.tar.gz
ports-ba0baf3bc9b776bac9c8632131df9d9740e54c7e.zip
audio/cmus: replace 0d52a1007da8 with upstream fix
-rw-r--r--audio/cmus/Makefile3
-rw-r--r--audio/cmus/distinfo2
-rw-r--r--audio/cmus/files/patch-basu24
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"