Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2018 21:54:44 +0000 (UTC)
From:      Christoph Moench-Tegeder <cmt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474039 - head/devel/avr-gcc
Message-ID:  <201807062154.w66Lsial046943@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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