FreeBSD Bugzilla – Attachment 179148 Details for
Bug 216325
audio/cmus: Update to 2.8.0-rc0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
audio___cmus.diff
audio___cmus.diff (text/plain), 8.37 KB, created by
Tobias Kortkamp
on 2017-01-20 17:10:22 UTC
(
hide
)
Description:
audio___cmus.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2017-01-20 17:10:22 UTC
Size:
8.37 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 431971) >+++ Makefile (working copy) >@@ -2,9 +2,9 @@ > # $FreeBSD$ > > PORTNAME= cmus >-PORTVERSION= 2.7.1 >+PORTVERSION= 2.8.0 > DISTVERSIONPREFIX= v >-PORTREVISION= 1 >+DISTVERSIONSUFFIX= -rc0 > CATEGORIES= audio > > MAINTAINER= t@tobik.me >@@ -31,10 +31,10 @@ > # follow shell value semantics i.e. later assignments overwrite > # previous assignments. The options here appear in the same order as > # ${WRKSRC}/configure --help. Please keep it that way. >-_CMUS_CONFIGURE_OPTS= CDDB CDIO DISCID FLAC MAD MODPLUG MIKMOD MPC \ >- VORBIS TREMOR OPUS WAV WAVPACK MP4 AAC FFMPEG \ >- VTX CUE ROAR PULSE ALSA JACK SAMPLERATE AO \ >- ARTS OSS SNDIO SUN WAVEOUT >+_CMUS_CONFIGURE_OPTS= AAC ALSA AO ARTS CDDB CDIO COREAUDIO CUE DISCID \ >+ FFMPEG FLAC JACK MAD MIKMOD MODPLUG MP4 MPC MPRIS OPUS OSS \ >+ PULSE ROAR SAMPLERATE SNDIO SUN TREMOR VORBIS VTX WAVEOUT \ >+ WAVPACK WAV > .for opt in ${_CMUS_CONFIGURE_OPTS} > CONFIGURE_ARGS+= CONFIG_${opt}=n > .endfor >@@ -131,9 +131,12 @@ > WAVPACK_CONFIGURE_ON= CONFIG_WAVPACK=y > WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack > >+post-patch: >+# From DPorts: prevent passing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 >+ @${REINPLACE_CMD} -e 's@\(NCURSES_CFLAGS=\).*@\1""@g' \ >+ ${WRKSRC}/configure > # Doc/cmus.txt is used to generate the man pages. Fix paths to point > # to the correct directories. >-post-patch: > @${REINPLACE_CMD} \ > -e 's,/usr/share/doc/cmus/examples,${EXAMPLESDIR},g' \ > -e 's,/usr/share/cmus,${DATADIR},g' \ >Index: distinfo >=================================================================== >--- distinfo (revision 431971) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1469160686 >-SHA256 (cmus-cmus-v2.7.1_GH0.tar.gz) = 8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165 >-SIZE (cmus-cmus-v2.7.1_GH0.tar.gz) = 296818 >+TIMESTAMP = 1484928514 >+SHA256 (cmus-cmus-v2.8.0-rc0_GH0.tar.gz) = b594087f16053f4db49e89d72b1c6dbb12e221373e806e62b3e97c327de1dac9 >+SIZE (cmus-cmus-v2.8.0-rc0_GH0.tar.gz) = 315613 >Index: files/patch-Makefile >=================================================================== >--- files/patch-Makefile (nonexistent) >+++ files/patch-Makefile (working copy) >@@ -0,0 +1,13 @@ >+Don't run git during the build >+ >+--- Makefile.orig 2017-01-20 16:50:48 UTC >++++ Makefile >+@@ -9,7 +9,7 @@ _ver2 = $(shell git rev-parse --verify - >+ # hand-made >+ _ver3 = v2.8.0-rc0 >+ >+-VERSION = $(or $(_ver0),$(_ver1),$(_ver2),$(_ver3)) >++VERSION = $(_ver3) >+ >+ all: main plugins man >+ >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 431971) >+++ files/patch-configure (nonexistent) >@@ -1,12 +0,0 @@ >-Upstreamed in https://github.com/cmus/cmus/commit/37f4daaea4d2724cd2b4d66984cf72b012ef5d48 >---- configure.orig 2016-08-03 15:18:16 UTC >-+++ configure >-@@ -21,7 +21,7 @@ check_cflags() >- check_sndio() >- { >- case `uname -s` in >-- OpenBSD) >-+ OpenBSD|FreeBSD) >- check_library SNDIO "" "-lsndio" >- return $? >- esac > >Property changes on: files/patch-configure >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-ffmpeg.c >=================================================================== >--- files/patch-ffmpeg.c (revision 431971) >+++ files/patch-ffmpeg.c (nonexistent) >@@ -1,47 +0,0 @@ >---- ffmpeg.c.orig 2015-07-13 10:00:56 UTC >-+++ ffmpeg.c >-@@ -39,7 +39,7 @@ >- #include <libavformat/avio.h> >- #include <libswresample/swresample.h> >- #include <libavutil/opt.h> >--#include <libavutil/audioconvert.h> >-+#include <libavutil/channel_layout.h> >- #ifndef AVUTIL_MATHEMATICS_H >- #include <libavutil/mathematics.h> >- #endif >-@@ -347,7 +347,7 @@ static int ffmpeg_fill_buffer(AVFormatCo >- struct ffmpeg_output *output, SwrContext *swr) >- { >- #if (LIBAVCODEC_VERSION_INT >= ((53<<16) + (25<<8) + 0)) >-- AVFrame *frame = avcodec_alloc_frame(); >-+ AVFrame *frame = av_frame_alloc(); >- int got_frame; >- #endif >- while (1) { >-@@ -363,7 +363,7 @@ static int ffmpeg_fill_buffer(AVFormatCo >- if (av_read_frame(ic, &input->pkt) < 0) { >- /* Force EOF once we can read no longer. */ >- #if (LIBAVCODEC_VERSION_INT >= ((53<<16) + (25<<8) + 0)) >-- avcodec_free_frame(&frame); >-+ av_frame_free(&frame); >- #endif >- return 0; >- } >-@@ -426,7 +426,7 @@ static int ffmpeg_fill_buffer(AVFormatCo >- res = 0; >- output->buffer_pos = output->buffer; >- output->buffer_used_len = res * cc->channels * sizeof(int16_t); >-- avcodec_free_frame(&frame); >-+ av_frame_free(&frame); >- return output->buffer_used_len; >- } >- #endif >-@@ -566,7 +566,7 @@ static long ffmpeg_current_bitrate(struc >- long bitrate = -1; >- #if (LIBAVFORMAT_VERSION_INT > ((51<<16)+(43<<8)+0)) >- /* ape codec returns silly numbers */ >-- if (priv->codec->id == CODEC_ID_APE) >-+ if (priv->codec->id == AV_CODEC_ID_APE) >- return -1; >- #endif >- if (priv->input->curr_duration > 0) { > >Property changes on: files/patch-ffmpeg.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-ip_mp4.c >=================================================================== >--- files/patch-ip_mp4.c (revision 431971) >+++ files/patch-ip_mp4.c (working copy) >@@ -1,8 +1,8 @@ > This patch is needed because multimedia/mp4v2 doesn't currently have > MP4LogSetLevel. It requires mp4v2 >= 2.0.0. > >---- mp4.c.orig 2015-07-13 10:00:56 UTC >-+++ mp4.c >+--- ip/mp4.c.orig 2016-11-20 12:29:46 UTC >++++ ip/mp4.c > @@ -155,7 +155,7 @@ static int mp4_open(struct input_plugin_ > return -IP_ERROR_FUNCTION_NOT_SUPPORTED; > >Index: files/patch-mp4.c >=================================================================== >--- files/patch-mp4.c (revision 431971) >+++ files/patch-mp4.c (nonexistent) >@@ -1,14 +0,0 @@ >-This patch is needed because multimedia/mp4v2 doesn't currently have >-MP4LogSetLevel. It requires mp4v2 >= 2.0.0. >- >---- mp4.c.orig 2015-07-13 10:00:56 UTC >-+++ mp4.c >-@@ -155,7 +155,7 @@ static int mp4_open(struct input_plugin_ >- return -IP_ERROR_FUNCTION_NOT_SUPPORTED; >- >- /* kindly ask mp4v2 to not spam stderr */ >-- MP4LogSetLevel(MP4_LOG_NONE); >-+ //MP4LogSetLevel(MP4_LOG_NONE); >- >- /* init private struct */ >- priv = xnew(struct mp4_private, 1); > >Property changes on: files/patch-mp4.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-sndio.c >=================================================================== >--- files/patch-sndio.c (revision 431971) >+++ files/patch-sndio.c (nonexistent) >@@ -1,24 +0,0 @@ >-Upstreamed in https://github.com/cmus/cmus/commit/37f4daaea4d2724cd2b4d66984cf72b012ef5d48 >---- sndio.c.orig 2015-07-13 10:00:56 UTC >-+++ sndio.c >-@@ -20,7 +20,6 @@ >- >- #include <sys/types.h> >- #include <sys/ioctl.h> >--#include <sys/audioio.h> >- #include <sys/stat.h> >- #include <errno.h> >- #include <fcntl.h> >-@@ -82,6 +81,12 @@ static int sndio_set_sf(sample_format_t >- par.le = 1; >- >- switch (sf_get_bits(sndio_sf)) { >-+ case 32: >-+ par.bits = 32; >-+ break; >-+ case 24: >-+ par.bits = 24; >-+ break; >- case 16: >- par.bits = 16; >- break; > >Property changes on: files/patch-sndio.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 431971) >+++ pkg-plist (working copy) >@@ -7,6 +7,9 @@ > %%DATADIR%%/gray-88.theme > %%DATADIR%%/green-mono-88.theme > %%DATADIR%%/green.theme >+%%DATADIR%%/gruvbox-alt.theme >+%%DATADIR%%/gruvbox.theme >+%%DATADIR%%/jellybeans.theme > %%DATADIR%%/night.theme > %%DATADIR%%/rc > %%DATADIR%%/solarized-dark.theme
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tobik
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 216325
:
179148
|
179199