Index: head/devel/libedit/Makefile =================================================================== --- head/devel/libedit/Makefile (revision 376503) +++ head/devel/libedit/Makefile (revision 376504) @@ -1,24 +1,25 @@ # Created by: jasone # $FreeBSD$ PORTNAME= libedit PORTVERSION= ${EDITVERSION}.${EDITDATE} DISTVERSION= ${EDITDATE}-${EDITVERSION} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://thrysoee.dk/editline/ MAINTAINER= bapt@FreeBSD.org COMMENT= Command line editor library LICENSE= BSD2CLAUSE USES= libtool pathfix EDITVERSION= 3.1 EDITDATE= 20141030 WRKSRC= ${WRKDIR}/${PORTNAME}-20141029-${EDITVERSION} GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-widec .include Index: head/devel/libedit/files/patch-src_el.c =================================================================== --- head/devel/libedit/files/patch-src_el.c (nonexistent) +++ head/devel/libedit/files/patch-src_el.c (revision 376504) @@ -0,0 +1,11 @@ +--- src/el.c.orig 2014-06-18 19:06:35 UTC ++++ src/el.c +@@ -121,7 +121,7 @@ el_init_fd(const char *prog, FILE *fin, + */ + el->el_flags = 0; + #ifdef WIDECHAR +- if (setlocale(LC_CTYPE, NULL) != NULL){ ++ if (setlocale(LC_CTYPE, "") != NULL){ + if (strcmp(nl_langinfo(CODESET), "UTF-8") == 0) + el->el_flags |= CHARSET_IS_UTF8; + } Property changes on: head/devel/libedit/files/patch-src_el.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libedit/files/patch-src_eln.c =================================================================== --- head/devel/libedit/files/patch-src_eln.c (nonexistent) +++ head/devel/libedit/files/patch-src_eln.c (revision 376504) @@ -0,0 +1,16 @@ +--- src/eln.c.orig 2015-01-07 22:26:24 UTC ++++ src/eln.c +@@ -76,9 +76,11 @@ el_gets(EditLine *el, int *nread) + { + const wchar_t *tmp; + +- el->el_flags |= IGNORE_EXTCHARS; ++ if (!(el->el_flags & CHARSET_IS_UTF8)) ++ el->el_flags |= IGNORE_EXTCHARS; + tmp = el_wgets(el, nread); +- el->el_flags &= ~IGNORE_EXTCHARS; ++ if (!(el->el_flags & CHARSET_IS_UTF8)) ++ el->el_flags &= ~IGNORE_EXTCHARS; + return ct_encode_string(tmp, &el->el_lgcyconv); + } + Property changes on: head/devel/libedit/files/patch-src_eln.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property