From owner-svn-ports-head@freebsd.org Sat Sep 21 18:14:06 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F346812B9E9; Sat, 21 Sep 2019 18:14:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46bJcs69lgz3LYG; Sat, 21 Sep 2019 18:14:05 +0000 (UTC) (envelope-from linimon@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 B742E1A21E; Sat, 21 Sep 2019 18:14:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8LIE5it054616; Sat, 21 Sep 2019 18:14:05 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8LIE5nc054615; Sat, 21 Sep 2019 18:14:05 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201909211814.x8LIE5nc054615@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 21 Sep 2019 18:14:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512529 - head/astro/routino X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/astro/routino X-SVN-Commit-Revision: 512529 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.29 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: Sat, 21 Sep 2019 18:14:06 -0000 Author: linimon Date: Sat Sep 21 18:14:05 2019 New Revision: 512529 URL: https://svnweb.freebsd.org/changeset/ports/512529 Log: Fix build on GCC-based installations: xmlparse.c:1244: error: #pragma GCC diagnostic not allowed inside functions Approved by: portmgr (tier-2 blanket) Modified: head/astro/routino/Makefile Modified: head/astro/routino/Makefile ============================================================================== --- head/astro/routino/Makefile Sat Sep 21 18:13:31 2019 (r512528) +++ head/astro/routino/Makefile Sat Sep 21 18:14:05 2019 (r512529) @@ -12,14 +12,19 @@ COMMENT= Router for OpenStreetMap Data LICENSE= AGPLv3 OPTIONS_DEFINE= DOCS -USES= gmake perl5 tar:tgz +USES= compiler gmake perl5 tar:tgz USE_LDCONFIG= yes +.include + post-patch: ${REINPLACE_CMD} 's|doc/routino|share/doc/routino|' \ ${WRKSRC}/Makefile.conf ${REINPLACE_CMD} 's|gcc|${CC}|' \ ${WRKSRC}/Makefile.conf +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 + ${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/xmlparse.c +.endif post-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @@ -35,4 +40,4 @@ post-install: ${LN} -sf lib${f:R:R} ${STAGEDIR}${PREFIX}/lib/lib${f:R:R:R} .endfor -.include +.include