From owner-svn-ports-head@freebsd.org Fri Jul 6 21:54:45 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 18B471031CF7; Fri, 6 Jul 2018 21:54:45 +0000 (UTC) (envelope-from cmt@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 BDD6F71415; Fri, 6 Jul 2018 21:54:44 +0000 (UTC) (envelope-from cmt@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 9C8706837; Fri, 6 Jul 2018 21:54:44 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w66LsiPQ046944; Fri, 6 Jul 2018 21:54:44 GMT (envelope-from cmt@FreeBSD.org) Received: (from cmt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w66Lsial046943; Fri, 6 Jul 2018 21:54:44 GMT (envelope-from cmt@FreeBSD.org) Message-Id: <201807062154.w66Lsial046943@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cmt set sender to cmt@FreeBSD.org using -f From: Christoph Moench-Tegeder Date: Fri, 6 Jul 2018 21:54:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474039 - head/devel/avr-gcc X-SVN-Group: ports-head X-SVN-Commit-Author: cmt X-SVN-Commit-Paths: head/devel/avr-gcc X-SVN-Commit-Revision: 474039 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: Fri, 06 Jul 2018 21:54:45 -0000 Author: cmt Date: Fri Jul 6 21:54:44 2018 New Revision: 474039 URL: https://svnweb.freebsd.org/changeset/ports/474039 Log: devel/avr-gcc: fix build with recent clang PR: 227650 Submitted by: dim@ Reported by: Kenji Rikitake Approved by: maintainer-timeout MFH: 2018Q3 Modified: head/devel/avr-gcc/Makefile Modified: head/devel/avr-gcc/Makefile ============================================================================== --- head/devel/avr-gcc/Makefile Fri Jul 6 20:00:30 2018 (r474038) +++ head/devel/avr-gcc/Makefile Fri Jul 6 21:54:44 2018 (r474039) @@ -57,6 +57,11 @@ BROKEN_mips64= Fails to configure: cannot compute suf ARCH= x86_64 .endif +post-patch: + @${FIND} ${WRKSRC} -type f \( -name '*.[ch]' -o -name '*.cc' \) | \ + ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND|PRId64)' | \ + ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND|PRId64)/" \1/g' + post-configure: ${MKDIR} ${WRKSRC}/gcc/include