media-libs/gegl: Fix compilation error due to non-ascii symbols
authorband-a-prend <torokhov-s-a@yandex.ru>
Sun, 19 Jan 2020 07:02:27 +0000 (10:02 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Mon, 20 Jan 2020 13:03:10 +0000 (15:03 +0200)
commite5106d923c2d796469a4da6e0e8d5524cf958126
tree4f3a9bf6ba82e30cb91cddfcaef073db4acf5986
parentd52dab4dc4082c3e31daec11fe8ea35d55240134
media-libs/gegl: Fix compilation error due to non-ascii symbols

This patch force using utf8 while reading files on converting .cl files
to .h files in env where for some reasons sandbox system codepage isn't utf8.

The patch provides compatibility both with python2.7 and python3.x.
When python2.7 support will be dropped the addition of
from __future__ import unicode_literals
import io
and "io."
could be removed as not neccessary for python3.x.

Closes: https://bugs.gentoo.org/705286
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/14387
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
media-libs/gegl/files/gegl-0.4.18-cltostring_force_utf8.patch [new file with mode: 0644]
media-libs/gegl/gegl-0.4.18.ebuild