diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-04-10 13:25:23 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-04-10 13:25:23 +0000 |
commit | 9777db6fbba9c0b26edf3678d7fd8e1b44ecad7e (patch) | |
tree | c730fec1f910e50fff4a5e0cb753b2e501048bc8 /audio/cmus/files/patch-ip_mp4.c | |
parent | - Update to 1.78 (diff) |
Update to 2.8.0-rc0
- Fix build with devel/ncurses installed [1], which erroneously
redefines _POSIX_C_SOURCE as 200112L globally via its pkg-config
file and hides strndup from cmus. A workaround for this was applied
to cmus in DPorts commit d2907fe but it never made it back to
FreeBSD.
Changes: https://github.com/cmus/cmus/releases/tag/v2.8.0-rc0
PR: 216325, 214475 [1]
Reported by: Oleg Gushchenkov <gor@clogic.com.ua> [1]
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D10242
Notes
Notes:
svn path=/head/; revision=438165
Diffstat (limited to 'audio/cmus/files/patch-ip_mp4.c')
-rw-r--r-- | audio/cmus/files/patch-ip_mp4.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/cmus/files/patch-ip_mp4.c b/audio/cmus/files/patch-ip_mp4.c new file mode 100644 index 000000000000..5a4fe05b1888 --- /dev/null +++ b/audio/cmus/files/patch-ip_mp4.c @@ -0,0 +1,15 @@ +This patch is needed because multimedia/mp4v2 doesn't currently have +MP4LogSetLevel. It requires mp4v2 >= 2.0.0. + +--- ip/mp4.c.orig 2016-11-20 12:29:46 UTC ++++ ip/mp4.c +@@ -154,9 +154,6 @@ static int mp4_open(struct input_plugin_ + if (ip_data->remote) + return -IP_ERROR_FUNCTION_NOT_SUPPORTED; + +- /* kindly ask mp4v2 to not spam stderr */ +- MP4LogSetLevel(MP4_LOG_NONE); +- + /* init private struct */ + priv = xnew(struct mp4_private, 1); + *priv = priv_init; |