FreeBSD Bugzilla – Attachment 64529 Details for
Bug 95906
[PATCH] audio/wavpack: Fix compile failure on 4.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
wavpack-4.32_1.patch
wavpack-4.32_1.patch (text/plain), 1.56 KB, created by
Jeffrey H. Johnson
on 2006-04-17 06:50:05 UTC
(
hide
)
Description:
wavpack-4.32_1.patch
Filename:
MIME Type:
Creator:
Jeffrey H. Johnson
Created:
2006-04-17 06:50:05 UTC
Size:
1.56 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/audio/wavpack/Makefile /usr/home/trn/port-work/wavpack/Makefile >--- /usr/ports/audio/wavpack/Makefile Sat Apr 15 11:52:53 2006 >+++ /usr/home/trn/port-work/wavpack/Makefile Mon Apr 17 01:40:41 2006 >@@ -2,11 +2,12 @@ > # Date created: Fri Jun 24 20:30:04 CEST 2005 > # Whom: Koop Mast <kwm@FreeBSD.org> > # >-# $FreeBSD: ports/audio/wavpack/Makefile,v 1.7 2006/04/15 15:52:53 pav Exp $ >+# $FreeBSD: ports/audio/wavpack/Makefile,v 1.6 2006/04/14 23:25:05 linimon Exp $ > # > > PORTNAME= wavpack > PORTVERSION= 4.32 >+PORTREVISION= 1 > CATEGORIES= audio > MASTER_SITES= http://www.wavpack.com/ > >diff -ruN --exclude=CVS /usr/ports/audio/wavpack/files/patch-wavpack.c /usr/home/trn/port-work/wavpack/files/patch-wavpack.c >--- /usr/ports/audio/wavpack/files/patch-wavpack.c Wed Dec 31 19:00:00 1969 >+++ /usr/home/trn/port-work/wavpack/files/patch-wavpack.c Mon Apr 17 01:33:48 2006 >@@ -0,0 +1,19 @@ >+--- wavpack.c.orig Thu Apr 6 02:17:41 2006 >++++ wavpack.c Mon Apr 17 01:30:57 2006 >+@@ -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);
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 95906
: 64529