Date: Mon, 17 Aug 2020 16:22:12 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545172 - in head/editors/nvi2: . files Message-ID: <202008171622.07HGMC3Q087821@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Aug 17 16:22:12 2020 New Revision: 545172 URL: https://svnweb.freebsd.org/changeset/ports/545172 Log: editors/nvi2: fix build on GCC architectures Use newer GCC: cc1: error: unrecognized command line option "-Wno-dangling-else" cc1: error: unrecognized command line option "-fcolor-diagnostics" -fcolor-diagnostics is incompatible with GCC, compilation works fine with Clang also without it. Added: head/editors/nvi2/files/ head/editors/nvi2/files/patch-CMakeLists.txt (contents, props changed) Modified: head/editors/nvi2/Makefile Modified: head/editors/nvi2/Makefile ============================================================================== --- head/editors/nvi2/Makefile Mon Aug 17 15:34:47 2020 (r545171) +++ head/editors/nvi2/Makefile Mon Aug 17 16:22:12 2020 (r545172) @@ -10,7 +10,7 @@ COMMENT= Updated implementation of the ex/vi text edit LICENSE= BSD3CLAUSE -USES= bdb cmake ncurses +USES= bdb cmake compiler:c11 ncurses USE_GITHUB= yes GH_ACCOUNT= lichray Added: head/editors/nvi2/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/nvi2/files/patch-CMakeLists.txt Mon Aug 17 16:22:12 2020 (r545172) @@ -0,0 +1,10 @@ +--- CMakeLists.txt.orig 2020-08-17 12:57:48 UTC ++++ CMakeLists.txt +@@ -20,7 +20,6 @@ mark_as_advanced(CMAKE_INSTALL_PREFIX) + option(USE_WIDECHAR "Enable wide character support" ON) + option(USE_ICONV "Enable iconv support" ON) + +-add_compile_options(-fcolor-diagnostics) + add_compile_options($<$<CONFIG:Debug>:-Wall>) + add_compile_options($<$<CONFIG:Debug>:-Wno-parentheses>) + add_compile_options($<$<CONFIG:Debug>:-Wno-uninitialized>)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008171622.07HGMC3Q087821>