package/htop: remove 0xe2 from MetersPanel.c
authorRomain Naour <romain.naour@gmail.com>
Tue, 20 Feb 2018 22:20:25 +0000 (23:20 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 25 Feb 2018 22:19:26 +0000 (23:19 +0100)
commit64ca9a51306d10862e3c04d7e9b1ee99557a9e4d
tree328548b8b41f662427f94ab735dc1d681a7af21e
parentfc73a401be45de4cabb49a55822d3730dc6add37
package/htop: remove 0xe2 from MetersPanel.c

This non ascii character trigger an issue with MakeHeader.py.

./scripts/MakeHeader.py MetersPanel.c
Traceback (most recent call last):
  File "./scripts/MakeHeader.py", line 32, in <module>
    for line in file.readlines():
  File "[...]/output/host/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 956: ordinal not in range(128)

Fixes:
http://autobuild.buildroot.net/results/8ed/8edb78b054a265447fd0e83f67cba5f978be4ed6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/htop/0001-MetersPanel-remove-0xe2-from-MetersPanel.c.patch [new file with mode: 0644]