From owner-svn-ports-all@freebsd.org Mon Mar 30 12:03:46 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A10D72A17BC; Mon, 30 Mar 2020 12:03:46 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48rWMN2jmfz4Yp2; Mon, 30 Mar 2020 12:03:43 +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 BBB151B825; Mon, 30 Mar 2020 12:01:39 +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 02UC1ddh067701; Mon, 30 Mar 2020 12:01:39 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02UC1cie067695; Mon, 30 Mar 2020 12:01:38 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202003301201.02UC1cie067695@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 30 Mar 2020 12:01:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529877 - in head/lang/janet: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/lang/janet: . files X-SVN-Commit-Revision: 529877 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2020 12:03:47 -0000 Author: tobik Date: Mon Mar 30 12:01:38 2020 New Revision: 529877 URL: https://svnweb.freebsd.org/changeset/ports/529877 Log: lang/janet: Update to v1.8.0 Changes: https://github.com/janet-lang/janet/releases/tag/v1.8.0 Added: head/lang/janet/files/ head/lang/janet/files/patch-src_boot_boot.janet (contents, props changed) head/lang/janet/files/patch-src_core_features.h (contents, props changed) Modified: head/lang/janet/Makefile head/lang/janet/distinfo head/lang/janet/pkg-plist Modified: head/lang/janet/Makefile ============================================================================== --- head/lang/janet/Makefile Mon Mar 30 11:41:29 2020 (r529876) +++ head/lang/janet/Makefile Mon Mar 30 12:01:38 2020 (r529877) @@ -2,7 +2,7 @@ PORTNAME= janet DISTVERSIONPREFIX= v -DISTVERSION= 1.7.0 +DISTVERSION= 1.8.0 CATEGORIES= lang MAINTAINER= tobik@FreeBSD.org Modified: head/lang/janet/distinfo ============================================================================== --- head/lang/janet/distinfo Mon Mar 30 11:41:29 2020 (r529876) +++ head/lang/janet/distinfo Mon Mar 30 12:01:38 2020 (r529877) @@ -1,3 +1,3 @@ -TIMESTAMP = 1580655867 -SHA256 (janet-lang-janet-v1.7.0_GH0.tar.gz) = 2a119f3a79b209a858864e73ca3efda57ac044df3c89762a31480bbea386d2a3 -SIZE (janet-lang-janet-v1.7.0_GH0.tar.gz) = 968936 +TIMESTAMP = 1585565842 +SHA256 (janet-lang-janet-v1.8.0_GH0.tar.gz) = e02ae5c7b4579a23e3f30636c16d248273ed119467a076d18c9362e858eb9812 +SIZE (janet-lang-janet-v1.8.0_GH0.tar.gz) = 977758 Added: head/lang/janet/files/patch-src_boot_boot.janet ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/janet/files/patch-src_boot_boot.janet Mon Mar 30 12:01:38 2020 (r529877) @@ -0,0 +1,54 @@ +https://github.com/janet-lang/janet/issues/327 + +../src/core/os.c:492:9: warning: implicit declaration of function 'unsetenv' is invalid in C99 [-Wimplicit-function-declaration] + UNSETENV(ks); + ^ +../src/core/os.c:485:21: note: expanded from macro 'UNSETENV' +#define UNSETENV(K) unsetenv(K) + ^ +../src/core/os.c:494:9: warning: implicit declaration of function 'setenv' is invalid in C99 [-Wimplicit-function-declaration] + SETENV(ks, vs); + ^ +../src/core/os.c:484:21: note: expanded from macro 'SETENV' +#define SETENV(K,V) setenv(K, V, 1) + ^ +../src/core/os.c:539:9: error: use of undeclared identifier 'CLOCK_MONOTONIC' + if (gettime(&tv)) janet_panic("could not get time"); + ^ +../src/core/os.c:532:35: note: expanded from macro 'gettime' +#define gettime(TV) clock_gettime(CLOCK_MONOTONIC, (TV)) + ^ +../src/core/os.c:973:14: warning: implicit declaration of function 'S_ISSOCK' is invalid in C99 [-Wimplicit-function-declaration] + else if (S_ISSOCK(m)) str = "socket"; + ^ +../src/core/os.c:974:14: warning: implicit declaration of function 'S_ISLNK' is invalid in C99 [-Wimplicit-function-declaration] + else if (S_ISLNK(m)) str = "link"; + ^ +../src/core/os.c:1087:15: warning: implicit declaration of function 'lstat' is invalid in C99 [-Wimplicit-function-declaration] + res = lstat(path, &st); + ^ +../src/core/math.c:256:28: warning: implicitly declaring library function 'trunc' with type 'double (double)' [-Wimplicit-function-declaration] +JANET_DEFINE_MATHOP(trunc, trunc) + ^ +../src/core/math.c:256:28: note: include the header or explicitly provide a declaration for 'trunc' +../src/core/math.c:257:28: warning: implicitly declaring library function 'round' with type 'double (double)' [-Wimplicit-function-declaration] +JANET_DEFINE_MATHOP(round, round) + ^ +../src/core/math.c:257:28: note: include the header or explicitly provide a declaration for 'round' +../src/core/math.c:468:50: error: use of undeclared identifier 'INFINITY' + janet_def(env, "math/inf", janet_wrap_number(INFINITY), + ^ +../src/core/math.c:470:52: error: use of undeclared identifier 'INFINITY' + janet_def(env, "math/-inf", janet_wrap_number(-INFINITY), + ^ + +--- src/boot/boot.janet.orig 2020-03-30 11:49:04 UTC ++++ src/boot/boot.janet +@@ -2585,7 +2585,6 @@ + (print "#define JANET_BUILD \"" janet/build "\"") + (print ```#define JANET_AMALG```) + (print ```#define _POSIX_C_SOURCE 200112L```) +- (print ```#define _XOPEN_SOURCE 500```) + (print ```#include "janet.h"```) + + (defn do-one-flie Added: head/lang/janet/files/patch-src_core_features.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/janet/files/patch-src_core_features.h Mon Mar 30 12:01:38 2020 (r529877) @@ -0,0 +1,11 @@ +--- src/core/features.h.orig 2020-03-30 11:48:42 UTC ++++ src/core/features.h +@@ -29,8 +29,4 @@ + #define _POSIX_C_SOURCE 200112L + #endif + +-#ifndef _XOPEN_SOURCE +-#define _XOPEN_SOURCE 500 +-#endif +- + #endif Modified: head/lang/janet/pkg-plist ============================================================================== --- head/lang/janet/pkg-plist Mon Mar 30 11:41:29 2020 (r529876) +++ head/lang/janet/pkg-plist Mon Mar 30 12:01:38 2020 (r529877) @@ -5,5 +5,6 @@ include/janet/janetconf.h lib/janet/.keep lib/libjanet.a lib/libjanet.so +libdata/pkgconfig/janet.pc man/man1/janet.1.gz man/man1/jpm.1.gz