[PATCH] update to the latest libedit version and remove libreadline deps

Anonymous swell.k at gmail.com
Sat Nov 6 15:31:39 UTC 2010


Gary Jennejohn <gljennjohn at googlemail.com> writes:

> On Fri, 5 Nov 2010 16:58:55 +0100
> Baptiste Daroussin <bapt at freebsd.org> wrote:
>> I've updated libedit to the latest version available in the netbsd cvs.
>> UTF8 support is disabled for now has it seems to be experimental and segfault.
>> I also patch and tested all the sources that used to be linked against
>> libreadline so that it now uses libedit making libreadline unused (I
>> guess, perhaps I have missed some)
>> 
>> beware that there are collision between libreadline and libedit
>> (/usr/include/readline/readline.h) is provided by both of them.
>> 
>> You can find the patch against current here:
>> http://people.freebsd.org/~bapt/update-libedit.patch
>> 
>
> contrib/wpa/wpa_supplicant/wpa_cli.c, lib/libdisk/tst01.c and
> sbin/gvinum/gvinum.c include stuff from readline.
>
> These are all still in SVN.

I think all those hunks in the patch removing <readline/history.h> are
unnecessary. On NetBSD history.h is a symlink to readline.h according to

  libedit/readline/Makefile:
  INCS=         readline.h
  INCSYMLINKS=  readline.h ${INCSDIR}/history.h

So, try to replace INCSYMLINKS with INCSLINKS.


More information about the freebsd-arch mailing list