Index: head/lang/janet/Makefile =================================================================== --- head/lang/janet/Makefile (revision 529876) +++ head/lang/janet/Makefile (revision 529877) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= janet DISTVERSIONPREFIX= v -DISTVERSION= 1.7.0 +DISTVERSION= 1.8.0 CATEGORIES= lang MAINTAINER= tobik@FreeBSD.org COMMENT= Functional embeddable lisp with C interop, & performant data types LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= meson USE_GITHUB= yes GH_ACCOUNT= janet-lang USE_LDCONFIG= yes .include Index: head/lang/janet/distinfo =================================================================== --- head/lang/janet/distinfo (revision 529876) +++ head/lang/janet/distinfo (revision 529877) @@ -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 Index: head/lang/janet/files/patch-src_boot_boot.janet =================================================================== --- head/lang/janet/files/patch-src_boot_boot.janet (nonexistent) +++ head/lang/janet/files/patch-src_boot_boot.janet (revision 529877) @@ -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 Property changes on: head/lang/janet/files/patch-src_boot_boot.janet ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/janet/files/patch-src_core_features.h =================================================================== --- head/lang/janet/files/patch-src_core_features.h (nonexistent) +++ head/lang/janet/files/patch-src_core_features.h (revision 529877) @@ -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 Property changes on: head/lang/janet/files/patch-src_core_features.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/janet/pkg-plist =================================================================== --- head/lang/janet/pkg-plist (revision 529876) +++ head/lang/janet/pkg-plist (revision 529877) @@ -1,9 +1,10 @@ bin/janet bin/jpm include/janet/janet.h 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