From: jow 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://207.154.207.93/?a=commitdiff_plain;h=0713817b3d6a23bf69c7c57017663936ef18dda8;p=packages.git [packages] bemused: remove the iconv cast fix, it is wrong for both libiconv-full and the iconv stub git-svn-id: svn://svn.openwrt.org/openwrt/packages@24825 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/bemused/patches/100-iconv.patch b/utils/bemused/patches/100-iconv.patch deleted file mode 100644 index a7054fd7f..000000000 --- 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";