svn commit: r430820 - branches/2017Q1/devel/nasm

Jan Beich jbeich at FreeBSD.org
Sat Jan 7 18:35:41 UTC 2017


Author: jbeich
Date: Sat Jan  7 18:35:39 2017
New Revision: 430820
URL: https://svnweb.freebsd.org/changeset/ports/430820

Log:
  MFH: r430817
  
  devel/nasm: unbreak with clang 4.0
  
  checking for strspn... no
  configure: error: NASM requires ANSI C (specifically, "strspn")
  [...]
  conftest.c:56:13: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
  char strspn ();
              ^
               void
  
  Regressed by:	https://github.com/llvm-mirror/clang/commit/162749f9c543
  Approved by:	portmgr blanket
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q1/devel/nasm/Makefile
Directory Properties:
  branches/2017Q1/   (props changed)

Modified: branches/2017Q1/devel/nasm/Makefile
==============================================================================
--- branches/2017Q1/devel/nasm/Makefile	Sat Jan  7 18:32:38 2017	(r430819)
+++ branches/2017Q1/devel/nasm/Makefile	Sat Jan  7 18:35:39 2017	(r430820)
@@ -14,6 +14,7 @@ COMMENT=	General-purpose multi-platform 
 LICENSE=	BSD2CLAUSE
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	ac_cv_func_strspn=yes
 USES=		tar:xz gmake
 MAKE_ARGS+=	INSTALLROOT=${STAGEDIR}
 INSTALL_TARGET=	install #needed for RDOFF_INSTALL_TARGET


More information about the svn-ports-all mailing list