From owner-svn-ports-head@freebsd.org Sun Aug 5 05:35:37 2018 Return-Path: Delivered-To: svn-ports-head@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 773971066630; Sun, 5 Aug 2018 05:35:37 +0000 (UTC) (envelope-from bofh@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 2EF287C0A2; Sun, 5 Aug 2018 05:35:37 +0000 (UTC) (envelope-from bofh@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 1087A1A182; Sun, 5 Aug 2018 05:35:37 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w755ZafQ088091; Sun, 5 Aug 2018 05:35:36 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w755ZaY8088090; Sun, 5 Aug 2018 05:35:36 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201808050535.w755ZaY8088090@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Sun, 5 Aug 2018 05:35:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476390 - head/devel/dia2code+ X-SVN-Group: ports-head X-SVN-Commit-Author: bofh X-SVN-Commit-Paths: head/devel/dia2code+ X-SVN-Commit-Revision: 476390 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2018 05:35:37 -0000 Author: bofh Date: Sun Aug 5 05:35:36 2018 New Revision: 476390 URL: https://svnweb.freebsd.org/changeset/ports/476390 Log: devel/dia2code+: fix build on 10.3 with lang/gcc7 or later - Builds with clang PR: 222962 Submitted by: jbeich Modified: head/devel/dia2code+/Makefile Modified: head/devel/dia2code+/Makefile ============================================================================== --- head/devel/dia2code+/Makefile Sun Aug 5 05:10:50 2018 (r476389) +++ head/devel/dia2code+/Makefile Sun Aug 5 05:35:36 2018 (r476390) @@ -3,7 +3,7 @@ PORTNAME= dia2code+ PORTVERSION= 1.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= SF/dia2code/dia2code+/${PORTVERSION} DISTNAME= dia2code-${PORTVERSION} @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= fails to compile: GenerateCodePhp.cpp: 'stoi' is not a member of 'std' -USES= autoreconf:build compiler:gcc-c++11-lib iconv +USES= autoreconf:build compiler:c++11-lib iconv USE_GNOME= libxml2 GNU_CONFIGURE= yes @@ -25,6 +25,10 @@ LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/dia2code \ man/man1/dia2code.1.gz + +post-patch: + @${REINPLACE_CMD} '/dia2code_CXXFLAGS =/ s,-fprofile-arcs,,' \ + ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/docs/dia2code.1 ${STAGEDIR}${MANPREFIX}/man/man1