package/expedite: fix build issue with gcc < 5
authorRomain Naour <romain.naour@gmail.com>
Sun, 30 Apr 2017 10:25:28 +0000 (12:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 30 Apr 2017 20:56:27 +0000 (22:56 +0200)
commitf3f631cdaedd8c10770c07b01e064d38715d3145
tree90699cf0d9fce48983730b998c72014e4e65f878
parentc975631dd9c965a60b679a3b637c36f776da21b9
package/expedite: fix build issue with gcc < 5

The code use for loop initial declarations which are only allowed in
C99 mode which is not the default C standard with gcc < 5.

This way of writing for loop was added by the latest commit and it is
not consistent with the rest of the code.
So revert to the C89 for loop syntax.

Reported upstream:
https://phab.enlightenment.org/T5440

Fixes:
http://autobuild.buildroot.net/results/ed8/ed840755e8e486e48eab8c13a8bb5e9a448199ce

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/expedite/0001-fix-build-failure-with-gcc-5.patch [new file with mode: 0644]