Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2018 18:42:10 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459110 - head/graphics/lensfun
Message-ID:  <201801151842.w0FIgAdY099650@repo.freebsd.org>

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



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