package/util-linux: fix vipw build with musl
authorRomain Naour <romain.naour@openwide.fr>
Sun, 9 Aug 2015 10:05:50 +0000 (12:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 Aug 2015 13:44:03 +0000 (15:44 +0200)
commit076c508d1b3ac6e68baf9373b05974727a697550
tree7a6f9c29ff45ff93c2048e6b7838643e48d79caf
parent5ccc4c9cf5e3e7377081e61b43253aacf9f3aa97
package/util-linux: fix vipw build with musl

__P() is used for compatibility with old K&R C compilers. With
ANSI C this macro has no effect.

This fixes a compilation error with musl libc because of undeclared
__P.

Fixes:
http://autobuild.buildroot.net/results/237/2377ae85bb9d85ba4c02706207f0b3bde3ccd027

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/util-linux/0004-vipw-Remove-pre-ANSI-compiler-support.patch [new file with mode: 0644]