Skip to content
Commit 77fbc684 authored by Jörg Krause's avatar Jörg Krause Committed by Thomas Petazzoni
Browse files

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: default avatarJörg Krause <joerg.krause@embedded.rocks>
Tested-by: default avatarDoug Kehn <rdkehn@yahoo.com>
Tested-by: default avatarRomain Naour <romain.naour@openwide.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 22501805
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment