Summary: | [patch] devel/libslang2 line drawing characters bug | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | szalai.bandi | ||||
Component: | Individual Port(s) | Assignee: | Renato Botelho <garga> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
szalai.bandi
2009-02-18 21:50:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->garga Over to maintainer (via the GNATS Auto Assign Tool) S-lang author suggested the following patch, could you test it and let me know if it's ok? Thanks ------------------------------------------------------------------------ --- sldisply.c~ 2008-08-24 20:14:47.000000000 -0400 +++ sldisply.c 2009-02-19 09:59:08.000000000 -0500 @@ -2233,10 +2233,9 @@ * this more general. */ /* FIXME: Priority=low; */ - if (0 == strcmp (cap, "ac")) - return s; + if (0 != strcmp (cap, "ac")) + s = fixup_tgetstr (s); - s = fixup_tgetstr (s); #ifdef USE_TERMCAP if ((s >= area_buf) && (s < area_buf + sizeof(area_buf))) { -- Renato Botelho <garga @ FreeBSD.org> <garga @ freebsdbrasil.com.br> GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc If your life was a horse, you'd have to shoot it. State Changed From-To: open->feedback Waiting submitter test new patch Hi,
On Thu, Feb 19, 2009 at 12:37:26PM -0300, Renato Botelho wrote:
> S-lang author suggested the following patch, could you test it and let me
> know if it's ok?
I have tested the patch and it is working well.
Bye,
andrew
garga 2009-02-21 20:34:13 UTC FreeBSD ports repository Modified files: devel/libslang2 Makefile Added files: devel/libslang2/files patch-src__sldisply.c Log: - Fix following bug: If you execute an application (e.g. mc), which uses devel/libslang2 to do screen I/O on a non-unicode terminal then the line drawing characters will appear as spaces. PR: ports/131857 Submitted by: Szalai Andras <szalai.bandi@gmail.com> Reviewed by: John E. Davis (author) Revision Changes Path 1.24 +2 -1 ports/devel/libslang2/Makefile 1.1 +15 -0 ports/devel/libslang2/files/patch-src__sldisply.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: feedback->closed Committed. Thanks! |