FreeBSD Bugzilla – Attachment 90316 Details for
Bug 127468
[PATCH]audio/wavpack: update to 4.50.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 4.39 KB, created by
bf
on 2008-09-18 12:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
bf
Created:
2008-09-18 12:50:01 UTC
Size:
4.39 KB
patch
obsolete
>diff -ruN wavpack.orig/Makefile wavpack/Makefile >--- wavpack.orig/Makefile 2008-09-18 01:55:46.051936565 -0400 >+++ wavpack/Makefile 2008-09-18 03:32:47.071400212 -0400 >@@ -6,28 +6,29 @@ > # > > PORTNAME= wavpack >-PORTVERSION= 4.41.0 >+PORTVERSION= 4.50.1 > CATEGORIES= audio > MASTER_SITES= http://www.wavpack.com/ > > MAINTAINER= multimedia@FreeBSD.org >-COMMENT= Compress (and restore) both 16 and 24-bit audio files in .wav format >+COMMENT= Compress and restore 8-32 bit uncompressed PCM .wav files > > USE_BZIP2= yes > USE_GNOME= gnomehack gnometarget pkgconfig > USE_ICONV= yes >-USE_DOS2UNIX= cli/*.[ch] include/*.h src/*.[ch] > USE_LDCONFIG= yes > GNU_CONFIGURE= yes > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ > LDFLAGS="-L${LOCALBASE}/lib" > >-FILES= include/wavpack.h src/unpack3.c src/words.c cli/md5.c >+OPTIONS= MMX "Enable MMX optimizations" Off > >-post-patch: >-.for i in ${FILES} >- @cd ${WRKSRC} && ${CP} ${i} ${i}.orig && \ >- col < ${i}.orig > ${i} >-.endfor >+.include <bsd.port.pre.mk> > >-.include <bsd.port.mk> >+.ifdef(WITH_MMX) >+CONFIGURE_ARGS+= --enable-mmx >+.else >+CONFIGURE_ARGS+= --disable-mmx >+.endif >+ >+.include <bsd.port.post.mk> >diff -ruN wavpack.orig/distinfo wavpack/distinfo >--- wavpack.orig/distinfo 2008-09-18 01:55:46.051936565 -0400 >+++ wavpack/distinfo 2008-09-18 03:32:47.071400212 -0400 >@@ -1,3 +1,3 @@ >-MD5 (wavpack-4.41.0.tar.bz2) = 6a13edeae437498db78fe528d9e95144 >-SHA256 (wavpack-4.41.0.tar.bz2) = 7a40748e07a18f86438eb79ebbb0b6e321d0374f683c6cad91f04c5251e7203c >-SIZE (wavpack-4.41.0.tar.bz2) = 329241 >+MD5 (wavpack-4.50.1.tar.bz2) = 2c9d7e3672f60070d4fd2c86c924a3b4 >+SHA256 (wavpack-4.50.1.tar.bz2) = 29c036d10fb8bcb6daa58718d112394291887fc0e9b108851017218184483954 >+SIZE (wavpack-4.50.1.tar.bz2) = 375792 >diff -ruN wavpack.orig/files/patch-wavpack.c wavpack/files/patch-wavpack.c >--- wavpack.orig/files/patch-wavpack.c 2008-09-18 01:55:46.041932221 -0400 >+++ wavpack/files/patch-wavpack.c 1969-12-31 19:00:00.000000000 -0500 >@@ -1,22 +0,0 @@ >- >-$FreeBSD: ports/audio/wavpack/files/patch-wavpack.c,v 1.2 2007/01/03 02:19:22 mezz Exp $ >- >---- cli/wavpack.c.orig >-+++ cli/wavpack.c >-@@ -1604,6 +1604,7 @@ >- MultiByteToWideChar (CP_ACP, 0, string, -1, temp, max_chars + 1); >- WideCharToUTF8 (temp, (uchar *) string, len); >- #else >-+ iconv_t converter; >- char *temp = malloc (len); >- char *outp = temp; >- char *inp = string; >-@@ -1614,7 +1615,7 @@ >- >- memset(temp, 0, len); >- old_locale = setlocale (LC_CTYPE, ""); >-- iconv_t converter = iconv_open ("UTF-8", ""); >-+ converter = iconv_open ("UTF-8", ""); >- err = iconv (converter, &inp, &insize, &outp, &outsize); >- iconv_close (converter); >- setlocale (LC_CTYPE, old_locale); >diff -ruN wavpack.orig/files/patch-wvunpack.c wavpack/files/patch-wvunpack.c >--- wavpack.orig/files/patch-wvunpack.c 2008-09-18 01:55:46.051936565 -0400 >+++ wavpack/files/patch-wvunpack.c 1969-12-31 19:00:00.000000000 -0500 >@@ -1,20 +0,0 @@ >---- cli/wvunpack.c.orig Thu Apr 6 05:48:33 2006 >-+++ cli/wvunpack.c Mon May 15 03:42:14 2006 >-@@ -1374,6 +1374,8 @@ >- static void UTF8ToAnsi (char *string, int len) >- { >- int max_chars = (int) strlen (string); >-+ >-+ iconv_t converter; >- #if defined (WIN32) >- unsigned short *temp = malloc ((max_chars + 1) * 2); >- int act_chars = UTF8ToWideChar (string, temp); >-@@ -1400,7 +1402,7 @@ >- >- memset(temp, 0, len); >- old_locale = setlocale (LC_CTYPE, ""); >-- iconv_t converter = iconv_open ("", "UTF-8"); >-+ converter = iconv_open ("", "UTF-8"); >- err = iconv (converter, &inp, &insize, &outp, &outsize); >- iconv_close (converter); >- setlocale (LC_CTYPE, old_locale); >diff -ruN wavpack.orig/pkg-descr wavpack/pkg-descr >--- wavpack.orig/pkg-descr 2008-09-18 01:55:46.051936565 -0400 >+++ wavpack/pkg-descr 2008-09-18 03:32:47.091401357 -0400 >@@ -1,7 +1,7 @@ >-WavPack allows users to compress (and restore) both 16 and 24-bit audio files >-in the .WAV format. It also supports multichannel streams and high frequency >+WavPack allows users to compress (and restore) 8-32 bit uncompressed PCM >+.WAV audio files. It supports multichannel streams and high frequency > sampling rates. Like other lossless compression schemes the data reduction >-varies with the source, but it is generally between 25% and 50% for typical >+varies with the source, but it is generally between 30% and 70% for typical > popular music and somewhat better than that for classical music and other > sources with greater dynamic range.
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 127468
: 90316