Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2019 13:58:15 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513947 - head/net-p2p/ncdc
Message-ID:  <201910071358.x97DwFC2051956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Oct  7 13:58:15 2019
New Revision: 513947
URL: https://svnweb.freebsd.org/changeset/ports/513947

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

Modified:
  head/net-p2p/ncdc/Makefile

Modified: head/net-p2p/ncdc/Makefile
==============================================================================
--- head/net-p2p/ncdc/Makefile	Mon Oct  7 13:38:08 2019	(r513946)
+++ head/net-p2p/ncdc/Makefile	Mon Oct  7 13:58:15 2019	(r513947)
@@ -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 \



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