--- - branch: MAIN date: Sat Oct 21 08:57:33 UTC 2017 files: - new: '1.225' old: '1.224' path: pkgsrc/devel/glib2/distinfo pathrev: pkgsrc/devel/glib2/distinfo@1.225 type: modified - new: '1.2' old: '1.1' path: pkgsrc/devel/glib2-tools/Makefile pathrev: pkgsrc/devel/glib2-tools/Makefile@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/devel/glib2/patches/patch-gobject_glib-mkenums.in pathrev: pkgsrc/devel/glib2/patches/patch-gobject_glib-mkenums.in@1.2 type: modified id: 20171021T085733Z.1e59800fd98cf01e04aa6d8e3316de2900975124 log: | glib2-tools: Handle source files which are not utf-8 python 3 is strict about file encodings. After glib-mkenums was translated from perl to python, build failures occur due to e.g., ISO-8859-1 characters in authors' names as reported by martin@ in PR pkg/52631 for xfce4-gtk2-engines, but also causing build failures for at least libgnome and libgnomeui. Chritoph Reiter produced an elegant workaround, making use of the open() function's error decoding "replace" option: 'replace' causes a replacement marker (such as '?') to be inserted where there is malformed data. which is applied here. https://bugzilla.gnome.org/show_bug.cgi?id=785113#c27 module: pkgsrc subject: 'CVS commit: pkgsrc/devel' unixtime: '1508576253' user: prlw1