pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/52631 CVS commit: pkgsrc/devel
The following reply was made to PR pkg/52631; it has been noted by GNATS.
From: "Patrick Welche" <prlw1%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/52631 CVS commit: pkgsrc/devel
Date: Sat, 21 Oct 2017 08:57:33 +0000
Module Name: pkgsrc
Committed By: prlw1
Date: Sat Oct 21 08:57:33 UTC 2017
Modified Files:
pkgsrc/devel/glib2: distinfo
pkgsrc/devel/glib2-tools: Makefile
pkgsrc/devel/glib2/patches: patch-gobject_glib-mkenums.in
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.224 -r1.225 pkgsrc/devel/glib2/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/glib2-tools/Makefile
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/devel/glib2/patches/patch-gobject_glib-mkenums.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index