aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-08-25 23:57:39 +0800
committertobik <tobik@FreeBSD.org>2018-08-25 23:57:39 +0800
commit18883966ec2890bd1641e9a56961f454368b3112 (patch)
treecb0b1db08ac21e7f1f1763615a115126fc4323cb /news
parent3eaf10e2657fe4eb42fd08386cd168fae9dbd57d (diff)
downloadfreebsd-ports-gnome-18883966ec2890bd1641e9a56961f454368b3112.tar.gz
freebsd-ports-gnome-18883966ec2890bd1641e9a56961f454368b3112.tar.zst
freebsd-ports-gnome-18883966ec2890bd1641e9a56961f454368b3112.zip
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
Diffstat (limited to 'news')
-rw-r--r--news/nget/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/news/nget/Makefile b/news/nget/Makefile
index 1db70424bc25..a9c8cb79a389 100644
--- a/news/nget/Makefile
+++ b/news/nget/Makefile
@@ -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