Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2018 21:59:12 +0000 (UTC)
From:      Christoph Moench-Tegeder <cmt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r474040 - branches/2018Q3/devel/avr-gcc
Message-ID:  <201807062159.w66LxCgL047315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cmt
Date: Fri Jul  6 21:59:12 2018
New Revision: 474040
URL: https://svnweb.freebsd.org/changeset/ports/474040

Log:
  MFH: r474039
  
  devel/avr-gcc: fix build with recent clang
  
  PR:		227650
  Submitted by:	dim@
  Reported by:	 Kenji Rikitake
  Approved by:	maintainer-timeout
  
  Approved by:	portmgr (blanket: build fixes)

Modified:
  branches/2018Q3/devel/avr-gcc/Makefile
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/devel/avr-gcc/Makefile
==============================================================================
--- branches/2018Q3/devel/avr-gcc/Makefile	Fri Jul  6 21:54:44 2018	(r474039)
+++ branches/2018Q3/devel/avr-gcc/Makefile	Fri Jul  6 21:59:12 2018	(r474040)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807062159.w66LxCgL047315>