Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 15:57:39 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478053 - head/news/nget
Message-ID:  <201808251557.w7PFvdYD088231@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Aug 25 15:57:39 2018
New Revision: 478053
URL: https://svnweb.freebsd.org/changeset/ports/478053

Log:
  news/nget: Fix build on 12.0
  
  Many configure checks fail with
  
  In file included from conftest.cc:38:
  In file included from /usr/include/c++/v1/ext/hash_map:203:
  In file included from /usr/include/c++/v1/__hash_table:16:
  In file included from /usr/include/c++/v1/memory:653:
  In file included from /usr/include/c++/v1/typeinfo:61:
  In file included from /usr/include/c++/v1/exception:82:
  In file included from /usr/include/c++/v1/cstdlib:86:
  In file included from /usr/include/c++/v1/stdlib.h:94:
  /usr/include/stdlib.h:97:1: error: function declared '[[noreturn]]' after its first declaration
  _Noreturn void   exit(int);
  ^
  /usr/include/sys/cdefs.h:280:22: note: expanded from macro '_Noreturn'
  #define _Noreturn               [[noreturn]]
                                    ^
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/nget-0.27.1_5.log

Modified:
  head/news/nget/Makefile

Modified: head/news/nget/Makefile
==============================================================================
--- head/news/nget/Makefile	Sat Aug 25 15:43:15 2018	(r478052)
+++ head/news/nget/Makefile	Sat Aug 25 15:57:39 2018	(r478053)
@@ -15,6 +15,7 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		compiler:c++11-lang gmake
+USE_CXXSTD=	c++98
 GNU_CONFIGURE=	yes
 
 # Skip check if the C++ compiler supports exceptions.  We know both



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