freerdp: Add support for uClibc
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 1 Oct 2014 08:59:21 +0000 (09:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Oct 2014 17:22:13 +0000 (19:22 +0200)
commitebba9aeda9313c802c75c6ed156c5170fed8b855
treef83628b6f6fc46e101383d949bbe456efb6c8de4
parent29c3c7ebe4a3f2f3f23a86bc83666d1aed5759ae
freerdp: Add support for uClibc

The stable-1.1 branch of freerdp fails to build when using a uClibc
toolchain because it's using functions which are not implemented in
uClibc, like eventfd_read, eventfd_write and futimes. That is causing
build failures like these ones:

../../libwinpr/synch/libwinpr-synch.so.0.1.0: undefined reference to
`eventfd_read'
../../libwinpr/synch/libwinpr-synch.so.0.1.0: undefined reference to
`eventfd_write'

../../common/libfreerdp-client.so.1.1.0: undefined reference to
`futimes'

Backport upstream patch, with non-applicable parts (new files from
master, but not in the stable-1.1 branch) trimmed down.

Upstream patch:
  https://github.com/FreeRDP/FreeRDP/commit/5f9c36da5d5cd3c5dce49f7b32fe011cb293f9ec/

Fixes:
  http://autobuild.buildroot.net/results/a66/a66e1ab18cd12904a64afcbf54116ceef889e966/build-end.log

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/freerdp/Config.in
package/freerdp/freerdp-0001-add-support-for-uclibc.patch [new file with mode: 0644]