svn commit: r513482 - head/games/nethack36

Piotr Kubaj pkubaj at FreeBSD.org
Tue Oct 1 13:58:47 UTC 2019


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}
 


More information about the svn-ports-head mailing list