From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 6 08:10:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27DBEAD2 for ; Fri, 6 Dec 2013 08:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE4351668 for ; Fri, 6 Dec 2013 08:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB68A0If092482 for ; Fri, 6 Dec 2013 08:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB68A0YK092481; Fri, 6 Dec 2013 08:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 6 Dec 2013 08:10:00 GMT Resent-Message-Id: <201312060810.rB68A0YK092481@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D70D979C for ; Fri, 6 Dec 2013 08:04:31 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BE260160D for ; Fri, 6 Dec 2013 08:04:19 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB684HPi006485 for ; Fri, 6 Dec 2013 08:04:17 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB67skjt018298; Fri, 6 Dec 2013 07:54:46 GMT (envelope-from nobody) Message-Id: <201312060754.rB67skjt018298@oldred.freebsd.org> Date: Fri, 6 Dec 2013 07:54:46 GMT From: Yuri To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/184533: Sync of libedit with upstream NetBSD X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 08:10:01 -0000 >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: