Add more upstream commits to fix build errors with perl 5.10
introduced by the previous patch to fix build errors with perl 5.22.
Fixes
http://autobuild.buildroot.net/results/325/32519c6d4084f334b7fed9edfb8a8c68a1f840a8/
and many others.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: reformat patches as proper Git formatted patches.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bug was already reported upstream, as solution upstream refered to this
commit: https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=733#c2
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>