FreeBSD Bugzilla – Attachment 90416 Details for
Bug 127593
[PATCH] audio/sox; update to 14.1.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 8.86 KB, created by
Dan Nelson
on 2008-09-23 22:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dan Nelson
Created:
2008-09-23 22:50:01 UTC
Size:
8.86 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/audio/sox/Makefile,v >retrieving revision 1.39 >diff -u -r1.39 Makefile >--- Makefile 21 Aug 2008 06:16:19 -0000 1.39 >+++ Makefile 19 Sep 2008 18:41:51 -0000 >@@ -6,8 +6,7 @@ > # > > PORTNAME= sox >-PORTVERSION= 14.0.1 >-PORTREVISION= 1 >+PORTVERSION= 14.1.0 > CATEGORIES= audio > MASTER_SITES= SF > >@@ -16,16 +15,23 @@ > > CONFLICTS= play-[0-9]* > >-MAN1= sox.1 >+MAN1= sox.1 soxi.1 > MAN3= libsox.3 >-MAN7= soxexam.7 soxformat.7 soxeffect.7 >+MAN7= soxformat.7 soxeffect.7 > MLINKS= sox.1 play.1 sox.1 rec.1 > GNU_CONFIGURE= yes > USE_LDCONFIG= yes > USE_AUTOTOOLS= libltdl >+USE_GNOME= pkgconfig > # src/Makefile uses ${RM} but never sets it > MAKE_ENV+= RM="rm -f" > >+.if defined(PACKAGE_BUILDING) >+_LAME= off >+.else >+_LAME= on >+.endif >+ > OPTIONS= AO "Enable libao output" on \ > AMRNB "AMR Speech Codec (Narrowband)" off \ > AMRWB "AMR Speech Codec (Wideband)" off \ >@@ -33,17 +39,20 @@ > FLAC "Enable flac en/decoding with libflac" on \ > GSM "Use libgsm from ports (else use bundled lib)" on \ > LADSPA "Audio plugin support" off \ >- LAME "Enable mp3 encoding with LAME" on \ >+ LAME "Enable mp3 encoding with LAME" ${_LAME} \ > MAD "Enable mp3 decoding with MAD" on \ > SAMPLERATE "Enable libsamplerate" on \ > SNDFILE "Enable libsndfile" on \ >- VORBIS "Enable Ogg Vorbis support" on >+ VORBIS "Enable Ogg Vorbis support" on \ >+ WAVPACK "Enable Wavpack support" off > > .include <bsd.port.pre.mk> > > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} > CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" >+CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" >+LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png > > .if !defined(WITH_LAME) && !defined(WITH_MAD) > PLIST_SUB+= PLIST_MP3="@comment " >@@ -154,9 +163,20 @@ > CONFIGURE_ARGS+= --without-samplerate > .endif > >+.if defined(WITH_WAVPACK) >+CONFIGURE_ARGS+= --with-wavpack >+LIB_DEPENDS+= wavpack.1:${PORTSDIR}/audio/wavpack >+PLIST_SUB+= PLIST_WAVPACK="" >+.else >+CONFIGURE_ARGS+= --without-wavpack >+PLIST_SUB+= PLIST_WAVPACK="@comment " >+.endif >+ > # Tell configure that libgsm's headers are in $LOCALDIR/include > post-patch: > @${REINPLACE_CMD} -Ee 's![[:<:]]gsm/gsm.h!gsm.h!' ${WRKSRC}/configure \ > ${WRKSRC}/src/gsm.c ${WRKSRC}/src/wav.c >+ @${REINPLACE_CMD} -Ee 's!ffmpeg/avformat.h!libavformat/avformat.h!' \ >+ ${WRKSRC}/configure ${WRKSRC}/src/ffmpeg.c > > .include <bsd.port.post.mk> >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/audio/sox/distinfo,v >retrieving revision 1.17 >diff -u -r1.17 distinfo >--- distinfo 15 Feb 2008 23:29:27 -0000 1.17 >+++ distinfo 30 Jul 2008 03:16:17 -0000 >@@ -1,3 +1,3 @@ >-MD5 (sox-14.0.1.tar.gz) = 6c95af60b20b9655531bf3162c0be937 >-SHA256 (sox-14.0.1.tar.gz) = 52398a49bef64aa6e06b158cb59b3e1790fa1bf94262b896688bcfdcf539ca73 >-SIZE (sox-14.0.1.tar.gz) = 859538 >+MD5 (sox-14.1.0.tar.gz) = b8e2cb3d615d3830347a0948dd8b74a8 >+SHA256 (sox-14.1.0.tar.gz) = 319cf07ee06fcbfbcaced7307e23ca567739c278f76bc143a9258a9a23e42101 >+SIZE (sox-14.1.0.tar.gz) = 912057 >Index: pkg-plist >=================================================================== >RCS file: /home/ncvs/ports/audio/sox/pkg-plist,v >retrieving revision 1.9 >diff -u -r1.9 pkg-plist >--- pkg-plist 15 Feb 2008 23:29:27 -0000 1.9 >+++ pkg-plist 30 Jul 2008 14:55:31 -0000 >@@ -2,6 +2,7 @@ > bin/play > bin/rec > bin/sox >+bin/soxi > include/sox.h > include/soxstdint.h > lib/libsfx.a >@@ -40,14 +41,14 @@ > lib/sox/libsox_fmt_au.la > lib/sox/libsox_fmt_au.so > lib/sox/libsox_fmt_au.so.0 >-lib/sox/libsox_fmt_auto.a >-lib/sox/libsox_fmt_auto.la >-lib/sox/libsox_fmt_auto.so >-lib/sox/libsox_fmt_auto.so.0 > lib/sox/libsox_fmt_avr.a > lib/sox/libsox_fmt_avr.la > lib/sox/libsox_fmt_avr.so > lib/sox/libsox_fmt_avr.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_caf.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_caf.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_caf.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_caf.so.0 > lib/sox/libsox_fmt_cdr.a > lib/sox/libsox_fmt_cdr.la > lib/sox/libsox_fmt_cdr.so >@@ -64,6 +65,18 @@ > lib/sox/libsox_fmt_dvms.la > lib/sox/libsox_fmt_dvms.so > lib/sox/libsox_fmt_dvms.so.0 >+lib/sox/libsox_fmt_f4.a >+lib/sox/libsox_fmt_f4.la >+lib/sox/libsox_fmt_f4.so >+lib/sox/libsox_fmt_f4.so.0 >+lib/sox/libsox_fmt_f8.a >+lib/sox/libsox_fmt_f8.la >+lib/sox/libsox_fmt_f8.so >+lib/sox/libsox_fmt_f8.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_fap.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_fap.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_fap.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_fap.so.0 > %%PLIST_FFMPEG%%lib/sox/libsox_fmt_ffmpeg.a > %%PLIST_FFMPEG%%lib/sox/libsox_fmt_ffmpeg.la > %%PLIST_FFMPEG%%lib/sox/libsox_fmt_ffmpeg.so >@@ -80,6 +93,10 @@ > lib/sox/libsox_fmt_hcom.la > lib/sox/libsox_fmt_hcom.so > lib/sox/libsox_fmt_hcom.so.0 >+lib/sox/libsox_fmt_htk.a >+lib/sox/libsox_fmt_htk.la >+lib/sox/libsox_fmt_htk.so >+lib/sox/libsox_fmt_htk.so.0 > lib/sox/libsox_fmt_ima.a > lib/sox/libsox_fmt_ima.la > lib/sox/libsox_fmt_ima.so >@@ -96,6 +113,14 @@ > lib/sox/libsox_fmt_lu.la > lib/sox/libsox_fmt_lu.so > lib/sox/libsox_fmt_lu.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat4.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat4.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat4.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat4.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat5.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat5.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat5.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_mat5.so.0 > lib/sox/libsox_fmt_maud.a > lib/sox/libsox_fmt_maud.la > lib/sox/libsox_fmt_maud.so >@@ -112,10 +137,18 @@ > lib/sox/libsox_fmt_oss.la > lib/sox/libsox_fmt_oss.so > lib/sox/libsox_fmt_oss.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_paf.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_paf.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_paf.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_paf.so.0 > lib/sox/libsox_fmt_prc.a > lib/sox/libsox_fmt_prc.la > lib/sox/libsox_fmt_prc.so > lib/sox/libsox_fmt_prc.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_pvf.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_pvf.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_pvf.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_pvf.so.0 > lib/sox/libsox_fmt_raw.a > lib/sox/libsox_fmt_raw.la > lib/sox/libsox_fmt_raw.so >@@ -136,6 +169,10 @@ > lib/sox/libsox_fmt_s4.la > lib/sox/libsox_fmt_s4.so > lib/sox/libsox_fmt_s4.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sd2.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sd2.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sd2.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sd2.so.0 > lib/sox/libsox_fmt_sf.a > lib/sox/libsox_fmt_sf.la > lib/sox/libsox_fmt_sf.so >@@ -148,10 +185,14 @@ > %%PLIST_SNDFILE%%lib/sox/libsox_fmt_sndfile.la > %%PLIST_SNDFILE%%lib/sox/libsox_fmt_sndfile.so > %%PLIST_SNDFILE%%lib/sox/libsox_fmt_sndfile.so.0 >-lib/sox/libsox_fmt_sndrtool.a >-lib/sox/libsox_fmt_sndrtool.la >-lib/sox/libsox_fmt_sndrtool.so >-lib/sox/libsox_fmt_sndrtool.so.0 >+lib/sox/libsox_fmt_sounder.a >+lib/sox/libsox_fmt_sounder.la >+lib/sox/libsox_fmt_sounder.so >+lib/sox/libsox_fmt_sounder.so.0 >+lib/sox/libsox_fmt_soundtool.a >+lib/sox/libsox_fmt_soundtool.la >+lib/sox/libsox_fmt_soundtool.so >+lib/sox/libsox_fmt_soundtool.so.0 > lib/sox/libsox_fmt_sphere.a > lib/sox/libsox_fmt_sphere.la > lib/sox/libsox_fmt_sphere.so >@@ -196,10 +237,18 @@ > lib/sox/libsox_fmt_vox.la > lib/sox/libsox_fmt_vox.so > lib/sox/libsox_fmt_vox.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_w64.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_w64.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_w64.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_w64.so.0 > lib/sox/libsox_fmt_wav.a > lib/sox/libsox_fmt_wav.la > lib/sox/libsox_fmt_wav.so > lib/sox/libsox_fmt_wav.so.0 >+%%PLIST_WAVPACK%%lib/sox/libsox_fmt_wavpack.a >+%%PLIST_WAVPACK%%lib/sox/libsox_fmt_wavpack.la >+%%PLIST_WAVPACK%%lib/sox/libsox_fmt_wavpack.so >+%%PLIST_WAVPACK%%lib/sox/libsox_fmt_wavpack.so.0 > lib/sox/libsox_fmt_wve.a > lib/sox/libsox_fmt_wve.la > lib/sox/libsox_fmt_wve.so >@@ -208,4 +257,9 @@ > lib/sox/libsox_fmt_xa.la > lib/sox/libsox_fmt_xa.so > lib/sox/libsox_fmt_xa.so.0 >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_xi.a >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_xi.la >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_xi.so >+%%PLIST_SNDFILE%%lib/sox/libsox_fmt_xi.so.0 > @dirrm lib/sox >+libdata/pkgconfig/sox.pc >cvs diff: Diffing files >Index: files/patch-sox.c >=================================================================== >RCS file: files/patch-sox.c >diff -N files/patch-sox.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-sox.c 23 Sep 2008 02:35:06 -0000 >@@ -0,0 +1,14 @@ >+Fix badly-imbalanced parens. >+ >+diff -burp sox-14.1.0/src/sox.c sox-14.1.0-dan/src/sox.c >+--- src/sox.c 2008-07-28 15:04:36.000000000 -0500 >++++ src/sox.c 2008-07-30 11:36:41.046073378 -0500 >+@@ -1716,7 +1716,7 @@ int main(int argc, char **argv) >+ combine_method = sox_concatenate; >+ >+ /* Make sure we got at least the required # of input filenames */ >+- if (input_count < is_serial(combine_method ? 1 : 2)) >++ if (input_count < (is_serial(combine_method) ? 1 : 2)) >+ usage("Not enough input filenames specified"); >+ >+ /* Check for misplaced input/output-specific options */
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
Actions:
View
|
Diff
Attachments on
bug 127593
: 90416