parted: properly link with libiconv
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 7 Oct 2017 23:06:11 +0000 (01:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Oct 2017 13:30:09 +0000 (15:30 +0200)
commit2a56de2dec3afdca15a58ec13cb5fc244682cab6
treefac5205dffddb2e2bcc5d1ff38f58e7cabf978d8
parentaa06b72f3b24594056df60287dfb9669158d6b55
parted: properly link with libiconv

parted uses libiconv but doesn't link with it. All the checks are there
in configure, but the Makefile.am doesn't add it to the link. Add a
patch to fix this.

Also add an optional dependency on libiconv, so it is reproducible.

While we're at it, regenerate the existing patches on top of v3.2, and
make patch 0003 a properly git formatted one.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: srg.venema@gmail.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/parted/0001-libparted-arch-linux.c-Compile-without-ENABLE_DEVICE.patch
package/parted/0002-configure.ac-uclinux-is-also-linux.patch
package/parted/0003-Include-fcntl.h-to-get-loff_t-definition.patch [new file with mode: 0644]
package/parted/0003-fix-includes-for-musl.patch [deleted file]
package/parted/0004-libparted-labels-link-with-libiconv-if-needed.patch [new file with mode: 0644]
package/parted/parted.mk