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:
parent
c8f67f1f4a
commit
aa3fd857ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448262
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user