misc/184533: Sync of libedit with upstream NetBSD

Yuri yuri at rawbw.com
Fri Dec 6 08:10:01 UTC 2013


>Number:         184533
>Category:       misc
>Synopsis:       Sync of libedit with upstream NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 06 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yuri
>Release:        
>Organization:
n/a
>Environment:
>Description:
This is the update of libedit from NetBSD upstream.

Please note the file renames: term.* => terminal.*, key.* => keymacro.*
Also files eln.c, chartype.c and config.h are added.

libedit now can be built with the option WIDECHAR. FreeBSD will build it with this option, allowing libedit to process international characters.

Please note that with the option WIDECHAR NetBSD code checks for __STDC_ISO_10646__ define. This is checking for one specific encoding UCS, which is wrong IMO since wchar_t can represent any encoding. This define isn't defined on FreeBSD, and I disabled this check.

There is also port devel/libedit, which is exactly the same as libedit. It is built from the blob extracted from NetBSD for linux. I suggest this port (devel/libedit) is deleted.

>How-To-Repeat:

>Fix:
patch is here: http://yv.dynalias.com:8085/libedit.patch

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list