diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2017-06-28 02:37:53 +0000 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2017-06-28 02:37:53 +0000 |
commit | a4046066e99a0f93c06ce0ab11954a5ee8506e0c (patch) | |
tree | d2b4ddfd03e7b70d56574342bf5a5d811bb76dc0 /cad/calculix/files/patch-cgx_VER+src+cgx.h | |
parent | * Updated to 1.0 (diff) |
lang/python{27,33,34,35,36}: Make Python curses module work with Unicode
Use readline from ports (USES= readline:port) and patch
setup.py to ignore readline from base. The patch is necessary for
FreeBSD < 1100000, as after this the readline library became an
INTERNALLIB, see base r268461 [1]
Link devel/readline against termcapw instead of termcap is part of
this change, see ports r444463 [2]
Note that this is the **ports** approach for getting Python curses
module working with Unicode. The other way is splitting libncurses
into separate libncurses and libtinfo in base, for which an open
issue exists [3].
Apart from Python language ports, at least www/rtv and
sysutils/py-ranger ports have been tested to work correctly
(display Unicode) after this change.
[1] https://svnweb.freebsd.org/changeset/base/268461
[2] https://svnweb.freebsd.org/changeset/ports/444463
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197317
PR: 171246, 197317
Reported by: Vitaly Magerya <vmagerya gmail com>
Reviewed by: garga, koobs, miwi, sunpoet
Approved by: garga (mentor), sunpoet (python, with hat)
Differential Revision: https://reviews.freebsd.org/D11127
Diffstat (limited to 'cad/calculix/files/patch-cgx_VER+src+cgx.h')
0 files changed, 0 insertions, 0 deletions