svn commit: r430817 - head/devel/nasm

Jan Beich jbeich at FreeBSD.org
Sat Jan 7 17:43:58 UTC 2017


Author: jbeich
Date: Sat Jan  7 17:43:56 2017
New Revision: 430817
URL: https://svnweb.freebsd.org/changeset/ports/430817

Log:
  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

Modified:
  head/devel/nasm/Makefile   (contents, props changed)

Modified: head/devel/nasm/Makefile
==============================================================================
--- head/devel/nasm/Makefile	Sat Jan  7 17:04:18 2017	(r430816)
+++ head/devel/nasm/Makefile	Sat Jan  7 17:43:56 2017	(r430817)
@@ -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