package/mtd: fix musl compile
authorJörg Krause <joerg.krause@embedded.rocks>
Fri, 24 Apr 2015 21:56:03 +0000 (23:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 25 Apr 2015 08:20:23 +0000 (10:20 +0200)
commitd9ae279e6a0232dc8af9856e229a57148bf222e9
tree78725f8b7cf9a4afce80ecb67fd5ff72e1da0332
parentbfb5d066fc8a4a5f4be4e0f99dd75b62f32ec787
package/mtd: fix musl compile

Update rpmatch patch to commit 5923077649ca167991a24ca05bd285fdf6fa1a06 and
expand to musl. Rename it.

Add more patches to fix compile issues with musl.

Patches sent upstream:
1) "include/common.h: fix build against musl"
   http://patchwork.ozlabs.org/patch/464074/
2) "lib/libfec.c: fix build against musl"
   http://patchwork.ozlabs.org/patch/464073/
3) "serve_image: do not include error.h"
   http://patchwork.ozlabs.org/patch/464416/
4) "recv_image: do not include error.h"
   http://patchwork.ozlabs.org/patch/464417/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mtd/0001-Fix-rpmatch-call-under-uClibc-and-musl.patch [new file with mode: 0644]
package/mtd/0001-Fix-rpmatch-call-under-uClibc.patch [deleted file]
package/mtd/0002-lib-libfec.c-fix-build-against-musl.patch [new file with mode: 0644]
package/mtd/0003-serve_image-do-not-include-error.h.patch [new file with mode: 0644]
package/mtd/0004-recv_image-do-not-include-error.h.patch [new file with mode: 0644]