svn commit: r448262 - in head/japanese/nethack34: . files
Steve Wills
swills at FreeBSD.org
Fri Aug 18 17:30:57 UTC 2017
Author: swills
Date: Fri Aug 18 17:30:56 2017
New Revision: 448262
URL: https://svnweb.freebsd.org/changeset/ports/448262
Log:
japanese/nethack34: Fix the BROKEN_FreeBSD_12 flag
Pass maintainership to submitter
PR: 220595
Submitted by: WATANABE Kazuhiro <CQG00620 at nifty.ne.jp>
Modified:
head/japanese/nethack34/Makefile
head/japanese/nethack34/files/patch-include-system.h (contents, props changed)
Modified: head/japanese/nethack34/Makefile
==============================================================================
--- head/japanese/nethack34/Makefile Fri Aug 18 17:25:14 2017 (r448261)
+++ head/japanese/nethack34/Makefile Fri Aug 18 17:30:56 2017 (r448262)
@@ -12,10 +12,8 @@ PATCH_SITES= SOURCEFORGE_JP/jnethack/58545
PATCHFILES= jnethack-${PORTVERSION}-0.11.diff.gz
PATCH_DIST_STRIP= -p1
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= CQG00620 at nifty.ne.jp
COMMENT= Japanized NetHack
-
-BROKEN_FreeBSD_12= fails to build: stdlib.h: conflicting types for 'srandom'
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
Modified: head/japanese/nethack34/files/patch-include-system.h
==============================================================================
--- head/japanese/nethack34/files/patch-include-system.h Fri Aug 18 17:25:14 2017 (r448261)
+++ head/japanese/nethack34/files/patch-include-system.h Fri Aug 18 17:30:56 2017 (r448262)
@@ -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
More information about the svn-ports-all
mailing list