Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2019 13:58:46 +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: r513482 - head/games/nethack36
Message-ID:  <201910011358.x91Dwk3I004667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Oct  1 13:58:46 2019
New Revision: 513482
URL: https://svnweb.freebsd.org/changeset/ports/513482

Log:
  games/nethack36: fix build on GCC architectures
  
  Use C11 compiler:
  In file included from ../include/isaac64.h:4,
                   from isaac64.c:17:
  ../include/integer.h:88: error: conflicting types for 'int64_t'
  /usr/include/sys/_stdint.h:51: error: previous declaration of 'int64_t' was here
  ../include/integer.h:89: error: conflicting types for 'uint64_t'
  /usr/include/sys/_stdint.h:71: error: previous declaration of 'uint64_t' was here
  
  Approved by:	mentors (implicit approval)

Modified:
  head/games/nethack36/Makefile

Modified: head/games/nethack36/Makefile
==============================================================================
--- head/games/nethack36/Makefile	Tue Oct  1 13:57:16 2019	(r513481)
+++ head/games/nethack36/Makefile	Tue Oct  1 13:58:46 2019	(r513482)
@@ -16,7 +16,7 @@ LICENSE_NAME=	NETHACK GENERAL PUBLIC LICENSE
 LICENSE_FILE=	${WRKSRC}/dat/license
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=		alias gmake ncurses tar:tgz
+USES=		alias compiler:c11 gmake ncurses tar:tgz
 
 WRKSRC=		${WRKDIR}/${TRUEPORTNAME}-${PORTVERSION}
 



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