ipmitool: fix musl build
authorJörg Krause <joerg.krause@embedded.rocks>
Mon, 11 Apr 2016 19:33:51 +0000 (21:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 13 Apr 2016 21:14:38 +0000 (23:14 +0200)
commit5ad021da2acc77e578b41990ec2ffd5e18b13548
tree4c041fd259963498ca506e119a2dce185851b300
parent64281e5a91e39c67479b8cdbde535e258b968c16
ipmitool: fix musl build

Add two patches to fix musl build and one patch to make the package
autoreconfigurable.

The first patch adds 'foreign' to 'AUTOMAKE_OPTIONS' to make the package
autoreconfigurable.

The second patch avoids the redefinition of wchar_t by using autoconf to check
for the type wchar_t. Patching configure.ac requires to set AUTORECONF = YES
and add a post extract hook to create some missing files needed by autorefonf.

The third patch adds missing header include of <linux/params.h> needed for the
macro EXEC_PAGESIZE defined in the Linux Kernel headers.

All patches send upstream:
https://sourceforge.net/p/ipmitool/mailman/message/35004711/
https://sourceforge.net/p/ipmitool/mailman/message/35007331/
https://sourceforge.net/p/ipmitool/mailman/message/35007330/

Fixes:
http://autobuild.buildroot.net/results/75f/75fd6f1be0271bb15078c62f3effdbb67ac07427/
http://autobuild.buildroot.net/results/cac/cacf8179a9c8142eef69562462d3c3b0b20c2879/
http://autobuild.buildroot.net/results/c10/c1045882947ff7150c750088ae1981bd99134c54/
http://autobuild.buildroot.net/results/6a7/6a770f8a3dddb15ba4d95555e74b198799278dcf/
.. and more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ipmitool/0001-Make-the-package-autoreconfigurable.patch [new file with mode: 0644]
package/ipmitool/0002-Avoid-wchar_t-redefinition.patch [new file with mode: 0644]
package/ipmitool/0003-Add-missing-linux-param.h-header-include.patch [new file with mode: 0644]
package/ipmitool/ipmitool.mk