summaryrefslogtreecommitdiffstats
path: root/testing/deadbeef/deadbeef-junklib.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-09 21:14:27 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-09 21:14:27 -0600
commit3f8d492d0e94b07cefe475aa3a731c32d4b47e70 (patch)
treeb30be569c5048c33cff8d0fee04e1e826f992db7 /testing/deadbeef/deadbeef-junklib.patch
parent19057f79c2bfa546d2badfcab7bd036b96b6db64 (diff)
downloadaports-3f8d492d0e94b07cefe475aa3a731c32d4b47e70.tar.bz2
aports-3f8d492d0e94b07cefe475aa3a731c32d4b47e70.tar.xz
testing/deadbeef: new aport
Diffstat (limited to 'testing/deadbeef/deadbeef-junklib.patch')
-rw-r--r--testing/deadbeef/deadbeef-junklib.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/deadbeef/deadbeef-junklib.patch b/testing/deadbeef/deadbeef-junklib.patch
new file mode 100644
index 000000000..948ce88de
--- /dev/null
+++ b/testing/deadbeef/deadbeef-junklib.patch
@@ -0,0 +1,23 @@
+--- deadbeef-0.4.4.orig/junklib.c
++++ deadbeef-0.4.4/junklib.c
+@@ -155,7 +155,7 @@
+ int
+ junk_iconv (const char *in, int inlen, char *out, int outlen, const char *cs_in, const char *cs_out) {
+ #if HAVE_ICONV
+- iconv_t cd = iconv_open (cs_out, cs_in);
++ iconv_t cd = libiconv_open (cs_out, cs_in);
+ if (cd == (iconv_t)-1) {
+ return -1;
+ }
+@@ -171,9 +171,9 @@
+ char *pout = out;
+ memset (out, 0, outbytesleft);
+
+- size_t res = iconv (cd, &pin, &inbytesleft, &pout, &outbytesleft);
++ size_t res = libiconv (cd, &pin, &inbytesleft, &pout, &outbytesleft);
+ int err = errno;
+- iconv_close (cd);
++ libiconv_close (cd);
+
+ //trace ("iconv -f %s -t %s '%s': returned %d, inbytes %d/%d, outbytes %d/%d, errno=%d\n", cs_in, cs_out, in, res, inlen, inbytesleft, outlen, outbytesleft, err);
+ if (res == -1) {