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:18:15 +0000 (23:18 +0100)
commit93f080ba0a3d84bf3b23404e083b0a33cd5fa31d
tree629e1d3c47f4291560766069454af489facd2dd2
parent78ec4bd9e639616480d3e024a2bd6b2e52b4072d
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]