From 0713817b3d6a23bf69c7c57017663936ef18dda8 Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 25 Dec 2010 21:35:51 +0000 Subject: [PATCH] [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 --- utils/bemused/patches/100-iconv.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 utils/bemused/patches/100-iconv.patch 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";