[PATCH] some Mac OS X fixes
Devin Bayer
devin at freeshell.org
Fri Feb 17 07:45:46 UTC 2006
I wanted to do a little busybox hacking on my laptop recently and
found it didn't even compile on OS X. This patch fixes those bugs
blocking my development, but it doesn't go far enough to make busybox
useful on OS X. It touches lots of different files, but most of the
changes are too minor for individual patches. A summary of the fixes:
* Don't try to make empty archives
* wait is the name of a function - don't use variables with that name
* bb_strlen called strlen which was a macro to bb_strlen. How did this
ever work for anybody?
* little more robustness in feature checking Make macros
* lots more conditional linker and strip flags
* don't built non-portable objects unless needed by an applet. This
is mostly a short-term solution. Better would be to make them
portable.
* SUSv3 doesn't require -lcrypt - nor does OS X even have it
* OS X uses different macros for endian-detection
* some minor header file differences
* sed invocations need -E when using extended mode. Probably it would
be better just not to use extended RE's.
* make sizes doesn't work with my nm, so I have a check awk replacement
* and a few one-liner bugfixes in wget, httpd, and mkdep
--
Devin Bayer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-macosx.patch
Type: application/octet-stream
Size: 28576 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060216/8b115b83/attachment.obj
More information about the busybox
mailing list