The NetBSD Project

CVS log for pkgsrc/devel/glib2/patches/

[BACK] Up to [] / pkgsrc / devel / glib2 / patches

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: pkgsrc-2017Q4-base

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 21 08:57:33 2017 UTC (2 years, 9 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.1: +47 -4 lines
Diff to previous 1.1 (colored)

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>