package/optee-test: add upstream patch to work with python 3.x
authorRomain Naour <romain.naour@smile.fr>
Sun, 8 Mar 2020 18:35:33 +0000 (19:35 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 8 Mar 2020 20:04:47 +0000 (21:04 +0100)
commit876e1b3479087c5ce871fcbfa0ffb81293c3e127
tree33bd0557307bf89c3c41647f9b00a34b4f387f29
parent9f16ddcdc6e73a790d7350dccb4694706f9d95f5
package/optee-test: add upstream patch to work with python 3.x

Fixes:
TypeError: cannot use a str to initialize an array with typecode 'B'
  File "../../scripts/file_to_c.py", line 32, in main
    for x in array.array("B", inf.read()):
    for x in array.array("B", inf.read()):
TypeError: cannot use a str to initialize an array with typecode 'B'
TypeError: cannot use a str to initialize an array with typecode 'B'

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Peter: reword commit message]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/optee-test/0001-use-python3-instead-of-python.patch [new file with mode: 0644]