Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2017 18:35:39 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r430820 - branches/2017Q1/devel/nasm
Message-ID:  <201701071835.v07IZdcX028609@repo.freebsd.org>

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



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