Mercurial > hg > aboriginal
changeset 1648:c0a10cc8e4e7
Ugly workaround because I just want to get a release out.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 20 Apr 2014 14:30:56 -0500 |
parents | 58cb231a91b8 |
children | 946d9e8f1752 |
files | sources/patches/toybox-uClibc.patch |
diffstat | 1 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/toybox-uClibc.patch Sun Apr 20 14:30:56 2014 -0500 @@ -0,0 +1,28 @@ +Ugly workaround until I can switch to musl. + +diff -r 9e105bab92e5 scripts/genconfig.sh +--- a/scripts/genconfig.sh Wed Apr 16 08:54:19 2014 -0500 ++++ b/scripts/genconfig.sh Wed Apr 16 14:53:56 2014 -0500 +@@ -34,6 +34,11 @@ + #error nope + #endif + EOF ++ ++ # Hard to come by in uClibc. ++ probesymbol TOYBOX_ICONV -c << EOF ++ #include "iconv.h" ++EOF + } + + genconfig() +diff -r 9e105bab92e5 toys/pending/iconv.c +--- a/toys/pending/iconv.c Wed Apr 16 08:54:19 2014 -0500 ++++ b/toys/pending/iconv.c Wed Apr 16 14:53:56 2014 -0500 +@@ -9,6 +9,7 @@ + config ICONV + bool "iconv" + default y ++ depends on TOYBOX_ICONV + help + usage: iconv [-f FROM] [-t TO] [FILE...] +