[pcre-dev] [Bug 1210] New: Add support for linking pcretest …

Etusivu
Poista viesti
Lähettäjä: Martin Matuska
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: [pcre-dev] [Bug 1210] New: Add support for linking pcretest to libedit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1210
           Summary: Add support for linking pcretest to libedit
           Product: PCRE
           Version: 8.30
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: work:small
          Severity: wishlist
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: mm@???
                CC: pcre-dev@???



Created an attachment (id=543)
--> (http://bugs.exim.org/attachment.cgi?id=543)
Example patch for libedit support

The libedit library is a libreadline-compatible library licensed under the
4-clause BSD license. It originates from the NetBSD project is available on
major Linux distributions as well as other operating systems (e.g the BSD
family).

With using libedit instead of libreadline, the PCRE package does not get GPLv3
poisoning.

The library's API is fully compatible to libreadline, so only changes in the
configuration system are needed. The standard libedit distribution does not
include the "history.h" header, so in case of using libedit this header should
not be included in pcretest.c

An example patch showing one of the possible solutions is attached.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email