Here's the patch I mentioned before, updated to a current CVS, and with a minor change - the mntent code in mythmediamonitor.cpp is only used if __UCLIBC__ is defined, otherwise the original fstab code is used - my understanding is that Mac OS X lacks mntent functions, so that this is needed to make mythmediamonitor compile on that platform.
The uclibc-hack.h include has a number of nasty bits intended to force GCC never to substitute certain commonly-used double-precision math functions with single-precision versions that don't exist in uClibc's libm. I've tested all of the flags that GCC claims to enable with -Os, and none of them will cause this behavior without -Os. If anybody is sufficiently wise regarding GCC to know how this optimization can be disabled, it would help to make things a good deal less ugly. The patch was tested with CVS from last night, and compiled and functions properly on my uClibc-only xbox, and also compiled (without using_uclibc enabled) on my glibc-only desktop system. -- Andrew Mahone andrew DOT mahone AT gmail DOT com
mythtv-uclibc.patch
Description: Binary data
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
