package/mtd: add patch to fix host build error with gcc 5.1
authorJörg Krause <joerg.krause@embedded.rocks>
Tue, 26 May 2015 10:38:09 +0000 (12:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Jul 2015 10:17:26 +0000 (12:17 +0200)
commit77fbc684c56d3d247419c6473c67ba5f60b0c093
treec6806aac70b4bd30ea9cf280451f4f8dee5695db
parent22501805ed49902020d33d1bd72baba407d3a289
package/mtd: add patch to fix host build error with gcc 5.1

host-mtd build fails with gcc 5.1:
  error: redefinition of ‘hashtable_iterator_key’
  error: redefinition of ‘hashtable_iterator_value’

Indeed, both functions are defined twice - once in the header and once in the
source file. This is permitted in C11 (and maybe in C99).

Add a patch sent to upstream:
https://patchwork.ozlabs.org/patch/467254/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Doug Kehn <rdkehn@yahoo.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mtd/0005-mkfs.ubifs-Fix-build-with-gcc-5.1.patch [new file with mode: 0644]