From: Travis Kemen Date: Thu, 8 May 2008 01:06:46 +0000 (+0000) Subject: fixed another bug.. now v060 Signed-off-by: Michael Vogt X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=98fd11e41c57ca2950818f522f511d15dd703b2b fixed another bug.. now v060 Signed-off-by: Michael Vogt SVN-Revision: 11067 --- diff --git a/utils/bemused/patches/100-iconv.patch b/utils/bemused/patches/100-iconv.patch index ea97ff5ae9..3f60494c33 100644 --- a/utils/bemused/patches/100-iconv.patch +++ b/utils/bemused/patches/100-iconv.patch @@ -11,3 +11,16 @@ if (iconv_value == (size_t) -1) { error ("ICONV ERROR3: failed to convert string, error: %d\n", errno); return "ICONV ERROR3"; +--- bemused-mpd-r059/mpdctrl.orig 2008-04-23 11:53:58.000000000 +0200 ++++ bemused-mpd-r059/mpdctrl.c 2008-04-23 14:36:34.000000000 +0200 +@@ -160,8 +160,8 @@ + } + + /* OpenWRT needs a type cast */ +- /* iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen); */ +- iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen); ++ iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen); ++ /* iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen); */ + if (iconv_value == (size_t) -1) { + error ("ICONV ERROR3: failed to convert string, error: %d\n", errno); + return "ICONV ERROR3";