1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

japanese/nethack34: Fix the BROKEN_FreeBSD_12 flag

Pass maintainership to submitter

PR:		220595
Submitted by:	WATANABE Kazuhiro <CQG00620@nifty.ne.jp>
This commit is contained in:
Steve Wills 2017-08-18 17:30:56 +00:00
parent c8f67f1f4a
commit aa3fd857ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448262
2 changed files with 2 additions and 4 deletions

View File

@ -12,11 +12,9 @@ PATCH_SITES= SOURCEFORGE_JP/jnethack/58545
PATCHFILES= jnethack-${PORTVERSION}-0.11.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
MAINTAINER= CQG00620@nifty.ne.jp
COMMENT= Japanized NetHack
BROKEN_FreeBSD_12= fails to build: stdlib.h: conflicting types for 'srandom'
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= gmake tar:tgz

View File

@ -6,7 +6,7 @@
# endif
-# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM)
+# if defined(__FreeBSD__)
+E void FDECL(srandom, (unsigned long));
+#include <stdlib.h> /* srandom() differs between versions of FreeBSD. */
+# elif (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
# else