]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
taskd: add patch to fix musl build issue
authorJörg Krause <joerg.krause@embedded.rocks>
Fri, 6 May 2016 23:25:03 +0000 (01:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 7 May 2016 07:17:00 +0000 (09:17 +0200)
commit54aa927a42eba7d0ceacce25f699c6b2ae2479dd
tree930eeba12db89e795d93971ddd1bc47acf7963d4
parent65b2ae49feb310d3272a47c44cf3b406646b25c1
taskd: add patch to fix musl build issue

taskd checks for `get_current_dir_name` but forgets to add a `cmakedefine`
in cmake.h.in, so `HAVE_GET_CURRENT_DIR_NAME` is always undefined.

CMake detects correctly that the musl C library defines `get_current_dir_name`.
However, as `HAVE_GET_CURRENT_DIR_NAME` is not set, the block of code evaluated
cannot be compiled as musl does not define `PATH_MAX`.

Reported upstream:
https://bug.tasktools.org/browse/TD-120

Fixes:
http://autobuild.buildroot.net/results/121/121aa15235e06c80d65428626da5a2da9d11c9ba/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/taskd/0001-Fix-missing-cmakedefine-HAVE_GET_CURRENT_DIR_NAME.patch [new file with mode: 0644]