svn commit: r474039 - head/devel/avr-gcc

Christoph Moench-Tegeder cmt at FreeBSD.org
Fri Jul 6 21:54:45 UTC 2018


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
 


More information about the svn-ports-all mailing list