util-linux: fix link failures due to name clash
authorLuca Ceresoli <luca@lucaceresoli.net>
Wed, 8 Nov 2017 17:38:01 +0000 (18:38 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Nov 2017 22:35:48 +0000 (23:35 +0100)
commit1a4b5bb4b21f05dd42ddd6158d74d431ac003c92
tree695b03a702afed9cde1909a376709a2fcb3a1610
parent6be1631bf27cb0d2aa6ddcbad835d614f33698e6
util-linux: fix link failures due to name clash

Several packages have a similar md5.c file, and each has a function
named byteReverse(). This generates link errors when building
statically ("multiple definition of `byteReverse'").

Fix by applying a patch from upstream.

Fixes:
  http://autobuild.buildroot.net/results/419ab2c0e034cc68991281c51caa8271b0fadbab/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Adam Duskett <aduskett@gmail.com>
Tested-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/util-linux/0001-md5-declare-byteReverse-as-static.patch [new file with mode: 0644]