From owner-svn-ports-all@freebsd.org Tue Aug 28 12:43:28 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80DB6108B37D; Tue, 28 Aug 2018 12:43:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 344F78222E; Tue, 28 Aug 2018 12:43:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 159595068; Tue, 28 Aug 2018 12:43:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7SChR9Y021062; Tue, 28 Aug 2018 12:43:27 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7SChR66021061; Tue, 28 Aug 2018 12:43:27 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808281243.w7SChR66021061@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 28 Aug 2018 12:43:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478308 - in head/security/doscan: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/security/doscan: . files X-SVN-Commit-Revision: 478308 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2018 12:43:28 -0000 Author: tobik Date: Tue Aug 28 12:43:27 2018 New Revision: 478308 URL: https://svnweb.freebsd.org/changeset/ports/478308 Log: security/doscan: Fix build with Clang 6 src/event_queue.cc:161:43: error: invalid operands to binary expression ('basic_ostream >' and 'std::__1::ostream' (aka 'basic_ostream')) std::cerr << "No handlers installed." << std::cerr; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/doscan-0.3.3_1.log - Make sure the build respects CXXFLAGS Added: head/security/doscan/files/patch-Makefile.in (contents, props changed) Modified: head/security/doscan/Makefile Modified: head/security/doscan/Makefile ============================================================================== --- head/security/doscan/Makefile Tue Aug 28 12:27:27 2018 (r478307) +++ head/security/doscan/Makefile Tue Aug 28 12:43:27 2018 (r478308) @@ -17,6 +17,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre GNU_CONFIGURE= yes USES= gmake +USE_CXXSTD= gnu++98 PORTDOCS= README PLIST_FILES= bin/doscan man/man1/doscan.1.gz Added: head/security/doscan/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/doscan/files/patch-Makefile.in Tue Aug 28 12:43:27 2018 (r478308) @@ -0,0 +1,17 @@ +--- Makefile.in.orig 2014-10-22 17:14:35 UTC ++++ Makefile.in +@@ -85,12 +85,12 @@ stamp-dir : + echo timestamp > stamp-dir + + src/%.o : $(srcdir)/src/%.cc +- $(CXX) $(CFLAGS) $(PCRE_CFLAGS) $(INCLUDES) \ ++ $(CXX) $(CXXFLAGS) $(PCRE_CFLAGS) $(INCLUDES) \ + -MMD -MF $(patsubst %.o,%.d, $@) \ + -c -o $@ $< + + src/%.o : src/%.cc +- $(CXX) $(CFLAGS) $(PCRE_CFLAGS) $(INCLUDES) \ ++ $(CXX) $(CXXFLAGS) $(PCRE_CFLAGS) $(INCLUDES) \ + -MMD -MF $(patsubst %.o,%.d, $@) \ + -c -o $@ $< +