[packages] bemused: remove the iconv cast fix, it is wrong for both libiconv-full...
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 25 Dec 2010 21:35:51 +0000 (21:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 25 Dec 2010 21:35:51 +0000 (21:35 +0000)
SVN-Revision: 24825

utils/bemused/patches/100-iconv.patch [deleted file]

diff --git a/utils/bemused/patches/100-iconv.patch b/utils/bemused/patches/100-iconv.patch
deleted file mode 100644 (file)
index a7054fd..0000000
+++ /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";