aboutsummaryrefslogtreecommitdiff
path: root/audio/wavpack/files
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2009-01-12 15:32:41 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2009-01-12 15:32:41 +0000
commitc817bd6c333e8b245cba02ee5f3c8a4b47d9836a (patch)
treeb26bb57e15d61ee280cf6799289d6845e3563216 /audio/wavpack/files
parentd482a3c700b7c5d618a604fa3877b49b0ff15483 (diff)
downloadports-c817bd6c333e8b245cba02ee5f3c8a4b47d9836a.tar.gz
ports-c817bd6c333e8b245cba02ee5f3c8a4b47d9836a.zip
Notes
Diffstat (limited to 'audio/wavpack/files')
-rw-r--r--audio/wavpack/files/patch-wavpack.c22
-rw-r--r--audio/wavpack/files/patch-wvunpack.c20
2 files changed, 0 insertions, 42 deletions
diff --git a/audio/wavpack/files/patch-wavpack.c b/audio/wavpack/files/patch-wavpack.c
deleted file mode 100644
index 5a9a166ea527..000000000000
--- a/audio/wavpack/files/patch-wavpack.c
+++ /dev/null
@@ -1,22 +0,0 @@
-
-$FreeBSD$
-
---- 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 --git a/audio/wavpack/files/patch-wvunpack.c b/audio/wavpack/files/patch-wvunpack.c
deleted file mode 100644
index 950e59c5c2e5..000000000000
--- a/audio/wavpack/files/patch-wvunpack.c
+++ /dev/null
@@ -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);