Allow building usr.bin/vi with MK_ASANWe have to namespace the regex functions to avoid duplicate symbol errors.This also ensures that vi doesn't define the libc reg* functions withmismatched sig
Allow building usr.bin/vi with MK_ASANWe have to namespace the regex functions to avoid duplicate symbol errors.This also ensures that vi doesn't define the libc reg* functions withmismatched signatures.ld: error: duplicate symbol: regcomp>>> defined at sanitizer_common_interceptors.inc:7519 (/usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:7519)>>> asan_interceptors.o:(__interceptor_regcomp) in archive /usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-x86_64.a>>> defined at regcomp.c>>> .../regex/regcomp.c.o:(.text+0x0)ld: error: duplicate symbol: regerror>>> defined at sanitizer_common_interceptors.inc:7543 (/usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:7543)>>> asan_interceptors.o:(__interceptor_regerror) in archive /usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-x86_64.a>>> defined at regerror.c>>> .../regex/regerror.c.o:(.text+0x0)ld: error: duplicate symbol: regexec>>> defined at sanitizer_common_interceptors.inc:7530 (/usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:7530)>>> asan_interceptors.o:(__interceptor_regexec) in archive /usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-x86_64.a>>> defined at regexec.c>>> .../regex/regexec.c.o:(.text+0x0)ld: error: duplicate symbol: regfree>>> defined at sanitizer_common_interceptors.inc:7553 (/usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:7553)>>> asan_interceptors.o:(__interceptor_regfree) in archive /usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-x86_64.a>>> defined at regfree.c>>> .../regex/regfree.c.o:(.text+0x0)Committed upstream as https://github.com/lichray/nvi2/pull/92Reviewed By: baptDifferential Revision: https://reviews.freebsd.org/D31050
show more ...
Update nvi to 2.2.0-05ed8b9This version incorporates many fixes in particular a fix for vi -wAnother approach was proposed to merge those fixes (see review), I findit easier to track changes if w
Update nvi to 2.2.0-05ed8b9This version incorporates many fixes in particular a fix for vi -wAnother approach was proposed to merge those fixes (see review), I findit easier to track changes if we keep importing snapshot on regularbasisPR: 241985Reported by: fernapeDifferential Revision: https://reviews.freebsd.org/D26158
Update nvi to 2.1.3 which fixes the data corruption when locale conversionfailed
Update nvi-1.79 to 2.1.1-4334a8297fThis is the gsoc-2011 project to clean up and backport multibyte supportfrom other nvi forks in a form we can use.USE_WIDECHAR is on unless building for the re
Update nvi-1.79 to 2.1.1-4334a8297fThis is the gsoc-2011 project to clean up and backport multibyte supportfrom other nvi forks in a form we can use.USE_WIDECHAR is on unless building for the rescue crunchgen. This shouldallow editing in the native locale encoding.USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. Thisadds the ability to do things like edit a KOI8-R file while having $LANGset to (say) en_US.UTF-8. iconv is used to transcode the characters fordisplay.Other points:* It uses gencat and catopen/etc instead of homegrown msg catalog stuff.* A lot of stuff has been trimmed out, eg: the perl and tcl bindings which we could never use in base anyway.* It uses ncursesw when in widechar mode. This could be interesting.GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1Repo at: https://github.com/lichray/nvi2Obtained from: Zhihao Yuan <lichray@gmail.com>