From 633660362f326c01add4e64ca734353f9cb40ea3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich 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 SVN-Revision: 24825 --- 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 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"; -- 2.30.2