From bfa333a5e2fb224bb56a49cc492478d6c8261558 Mon Sep 17 00:00:00 2001 From: jbeich Date: Sat, 11 Feb 2017 20:16:18 +0000 Subject: net/nepenthes: unbreak with gcc6 or later In file included from SMBDialogue.cpp:34:0: asn1-shellcodes.h:25:1: error: narrowing conversion of '133' from 'int' to 'char' inside { } [-Wnarrowing] }; ^ asn1-shellcodes.h:25:1: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] asn1-shellcodes.h:25:1: error: narrowing conversion of '200' from 'int' to 'char' inside { } [-Wnarrowing] asn1-shellcodes.h:300:1: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing] }; ^ [...] --- net/nepenthes/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'net') diff --git a/net/nepenthes/Makefile b/net/nepenthes/Makefile index f2dc77db63e4..ff4b0b93b690 100644 --- a/net/nepenthes/Makefile +++ b/net/nepenthes/Makefile @@ -17,6 +17,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre \ USES= dos2unix libtool perl5 DOS2UNIX_FILE= modules/shellcode-generic/sch_generic_connect_trans.cpp +USE_CXXSTD= gnu++98 USE_GCC= any GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var -- cgit