From: Jo-Philipp Wich Date: Sat, 25 Dec 2010 21:35:51 +0000 (+0000) Subject: [packages] bemused: remove the iconv cast fix, it is wrong for both libiconv-full... X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=633660362f326c01add4e64ca734353f9cb40ea3;p=openwrt%2Fsvn-archive%2Farchive.git [packages] bemused: remove the iconv cast fix, it is wrong for both libiconv-full and the iconv stub SVN-Revision: 24825 --- diff --git a/utils/bemused/patches/100-iconv.patch b/utils/bemused/patches/100-iconv.patch deleted file mode 100644 index a7054fd7f2..0000000000 --- a/utils/bemused/patches/100-iconv.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/mpdctrl.c -+++ b/mpdctrl.c -@@ -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";