From owner-svn-ports-head@freebsd.org Tue Sep 4 07:37:58 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC175FE5816; Tue, 4 Sep 2018 07:37:57 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94A408B8D4; Tue, 4 Sep 2018 07:37:57 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F95D140A8; Tue, 4 Sep 2018 07:37:57 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w847bv3O009464; Tue, 4 Sep 2018 07:37:57 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w847bvLc009462; Tue, 4 Sep 2018 07:37:57 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809040737.w847bvLc009462@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 4 Sep 2018 07:37:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478932 - in head/lang/chicken5: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/lang/chicken5: . files X-SVN-Commit-Revision: 478932 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2018 07:37:58 -0000 Author: tobik Date: Tue Sep 4 07:37:56 2018 New Revision: 478932 URL: https://svnweb.freebsd.org/changeset/ports/478932 Log: lang/chicken5: Obtain entropy via arc4random_buf on FreeBSD too Also fix parallel build while here Added: head/lang/chicken5/files/ head/lang/chicken5/files/patch-rules.make (contents, props changed) head/lang/chicken5/files/patch-runtime.c (contents, props changed) Modified: head/lang/chicken5/Makefile Modified: head/lang/chicken5/Makefile ============================================================================== --- head/lang/chicken5/Makefile Tue Sep 4 07:26:02 2018 (r478931) +++ head/lang/chicken5/Makefile Tue Sep 4 07:37:56 2018 (r478932) @@ -3,6 +3,7 @@ PORTNAME= chicken DISTVERSION= 5.0.0rc1 +PORTREVISION= 1 CATEGORIES= lang scheme MASTER_SITES= https://code.call-cc.org/dev-snapshots/2018/08/11/ PKGNAMESUFFIX= 5 @@ -27,7 +28,6 @@ MAKE_ARGS= PLATFORM=bsd \ C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ LINKER_OPTIONS="${LDFLAGS}" \ PROGRAM_SUFFIX="${PKGNAMESUFFIX}" -MAKE_JOBS_UNSAFE= yes PLIST_SUB= SUFFIX=${PKGNAMESUFFIX} TEST_TARGET= check Added: head/lang/chicken5/files/patch-rules.make ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/chicken5/files/patch-rules.make Tue Sep 4 07:37:56 2018 (r478932) @@ -0,0 +1,11 @@ +--- rules.make.orig 2018-09-03 08:22:31 UTC ++++ rules.make +@@ -252,7 +252,7 @@ $(eval $(call declare-program-from-object,$(CSI_STATIC + + # "chicken-do" + +-$(CHICKEN_DO_PROGRAM)$(EXE): $(SRCDIR)chicken-do.c ++$(CHICKEN_DO_PROGRAM)$(EXE): $(SRCDIR)chicken-do.c $(CHICKEN_CONFIG_H) + $(C_COMPILER) $(C_COMPILER_OPTIONS) $< -o $@ + + # scripts Added: head/lang/chicken5/files/patch-runtime.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/chicken5/files/patch-runtime.c Tue Sep 4 07:37:56 2018 (r478932) @@ -0,0 +1,11 @@ +--- runtime.c.orig 2018-09-02 13:30:07 UTC ++++ runtime.c +@@ -12577,7 +12577,7 @@ C_word C_random_bytes(C_word buf, C_word size) + int r = 0; + int off = 0; + +-#ifdef __OpenBSD__ ++#if defined(__OpenBSD__) || defined(__FreeBSD__) + arc4random_buf(C_data_pointer(buf), count); + #elif defined(SYS_getrandom) && defined(__NR_getrandom) + static int use_urandom = 0;