From c1170a7afbac4261adf8e53bef367f4fcba9e4cf Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Mon, 7 Oct 2019 13:58:15 +0000 Subject: net-p2p/ncdc: fix build on GCC architectures Use C11 compiler: In file included from src/geoip.c:34: /usr/local/include/maxminddb.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mmdb_uint128_t' /usr/local/include/maxminddb.h:122: error: expected specifier-qualifier-list before 'mmdb_uint128_t' Approved by: mentors (implicit approval) --- net-p2p/ncdc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net-p2p/ncdc') diff --git a/net-p2p/ncdc/Makefile b/net-p2p/ncdc/Makefile index 3447116321f0..57e4690ea7c6 100644 --- a/net-p2p/ncdc/Makefile +++ b/net-p2p/ncdc/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libnettle.so:security/nettle \ libp11-kit.so:security/p11-kit -USES= gmake gnome pkgconfig ncurses:port +USES= compiler:c11 gmake gnome pkgconfig ncurses:port USE_GNOME= glib20 GNU_CONFIGURE= yes PLIST_FILES= bin/ncdc \ -- cgit v1.2.3