freerdp cannot be built as is on uclibc systems because three functions are missing on uclibc : futimes (a BSD extension), eventfd_read and eventfd_write. For the former, futimes can be replaced by utimes as on Android and the 2 others, they can be pasted from bionic source (as both bionic and freerdp are both under the Apache 2.0 license). Reproducible: Always Steps to Reproduce: 1. Install Lilblue 2. emerge -1 freerdp Actual Results: emake failed Expected Results: freerdp installed on system
Created attachment 367648 [details, diff] Patch to add for uclibc support
Have you tried sending this patch upstream?
Filed an issue upstream https://github.com/FreeRDP/FreeRDP/issues/1660
it should stop using futimes and switch to futimens as the latter is in POSIX and glibc/uClibc already support it the latter two probably need to be fixed in uClibc itself since we provide sys/eventfd.h and eventfd()
Created attachment 382318 [details, diff] New patch to add uclibc support
Does the same problem occur when building against git master? You can use freerdp-9999 to check. If it does, please rebase your patch against the current git master and submit a pull request upstream. https://github.com/FreeRDP/FreeRDP Once I know this has been fixed upstream, I would be happy to apply your patch to the current snapshot in the portage tree.
Oh, now I see comment 3. Get this fixed upstream first, then we can get it fixed here.
Pull request for upstream head https://github.com/FreeRDP/FreeRDP/pull/2024
Created attachment 383160 [details, diff] freerdp-1.1.0_beta1_p20130710-uclibc-r2.patch New revision of the source code patch based on the pull request merged upstream, the change being keeping Mac OS X compatibility
+ 20 Aug 2014; Mike Gilbert <floppym@gentoo.org> + +files/freerdp-1.1.0_beta1_p20130710-uclibc.patch, + freerdp-1.1.0_beta1_p20130710-r2.ebuild: + Add build fix for uclibc, bug 497808. Thanks to René Rhéaume for the patch.