svn commit: r459110 - head/graphics/lensfun

Alexey Dokuchaev danfe at FreeBSD.org
Mon Jan 15 18:42:11 UTC 2018


Author: danfe
Date: Mon Jan 15 18:42:10 2018
New Revision: 459110
URL: https://svnweb.freebsd.org/changeset/ports/459110

Log:
  Unbreak the build against new Clang version 6.0.0 (due to the same nature
  of the changes, should've been part of r459108).
  
  PR:	224989

Modified:
  head/graphics/lensfun/Makefile

Modified: head/graphics/lensfun/Makefile
==============================================================================
--- head/graphics/lensfun/Makefile	Mon Jan 15 18:37:42 2018	(r459109)
+++ head/graphics/lensfun/Makefile	Mon Jan 15 18:42:10 2018	(r459110)
@@ -32,4 +32,8 @@ PYHELPERS_CMAKE_ON=	-DSTAGEDIR:STRING=${STAGEDIR} -DPY
 PYHELPERS_CMAKE_OFF=	-DINSTALL_HELPER_SCRIPTS:BOOL=OFF -DPYTHON:STRING=IGNORE
 PYHELPERS_USES=		python:3.4+
 
+post-patch:
+# Fix the build against Clang 6.0.0
+	@${REINPLACE_CMD} -e '/%%/s,R_BX, & ,' ${WRKSRC}/libs/lensfun/cpuid.cpp
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list