pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
vlang: update to 2022.19
Module Name: pkgsrc-wip
Committed By: Roland Illig <rillig%NetBSD.org@localhost>
Pushed By: rillig
Date: Sun Jun 19 06:40:28 2022 +0000
Changeset: 533581c81ed8309d91a9e3a637902cb02783facb
Modified Files:
vlang/Makefile
vlang/PLIST
vlang/TODO
vlang/distinfo
Added Files:
vlang/example
vlang/example.v
Log Message:
vlang: update to 2022.19
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=533581c81ed8309d91a9e3a637902cb02783facb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
vlang/Makefile | 4 ++--
vlang/PLIST | 22 ++++++++++++++++++++--
vlang/TODO | 4 ----
vlang/distinfo | 12 ++++++------
vlang/example | Bin 0 -> 235992 bytes
vlang/example.v | 7 +++++++
6 files changed, 35 insertions(+), 14 deletions(-)
diffs:
diff --git a/vlang/Makefile b/vlang/Makefile
index 26433d9157..4f11515033 100644
--- a/vlang/Makefile
+++ b/vlang/Makefile
@@ -1,7 +1,7 @@
# $NetBSD$
DISTNAME= vlang-weekly-${VER}
-VER= 2022.16
+VER= 2022.19
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=vlang/}
GITHUB_PROJECT= v
@@ -19,7 +19,7 @@ MAKE_FLAGS+= local=1
# vc is the bootstrap compiler and needs updates along with vlang.
# vc has the corresponding v commit id in its commit msg.
-GITHUB_SUBMODULES+= vlang vc 4505557b56638eb931182f764580767e22cf110d vc
+GITHUB_SUBMODULES+= vlang vc a298ad7069f6333ef8ab59a616654fc74e04c847 vc
# tccbin is the dummy branch thirdparty-unknown-unknown and needs no updates.
GITHUB_SUBMODULES+= vlang tccbin de82a130c282c03eac3ccd442b995a5174e865ec thirdparty/tcc
diff --git a/vlang/PLIST b/vlang/PLIST
index 3ee16e8832..c70c429abd 100644
--- a/vlang/PLIST
+++ b/vlang/PLIST
@@ -17,7 +17,6 @@ libexec/vlang/cmd/tools/fuzz/fuzz.sh
libexec/vlang/cmd/tools/fuzz/map_fuzz.v
libexec/vlang/cmd/tools/gen1m.v
libexec/vlang/cmd/tools/gen_vc.v
-libexec/vlang/cmd/tools/missdoc.v
libexec/vlang/cmd/tools/modules/scripting/scripting.v
libexec/vlang/cmd/tools/modules/testing/common.v
libexec/vlang/cmd/tools/modules/vgit/vgit.v
@@ -87,6 +86,7 @@ libexec/vlang/cmd/tools/vdoctor.v
libexec/vlang/cmd/tools/vfmt.v
libexec/vlang/cmd/tools/vgret.defaults.toml
libexec/vlang/cmd/tools/vgret.v
+libexec/vlang/cmd/tools/vmissdoc.v
libexec/vlang/cmd/tools/vpm.v
libexec/vlang/cmd/tools/vrepl.v
libexec/vlang/cmd/tools/vscan.v
@@ -139,6 +139,7 @@ libexec/vlang/cmd/v/help/help_test.v
libexec/vlang/cmd/v/help/init.txt
libexec/vlang/cmd/v/help/install.txt
libexec/vlang/cmd/v/help/list.txt
+libexec/vlang/cmd/v/help/missdoc.txt
libexec/vlang/cmd/v/help/new.txt
libexec/vlang/cmd/v/help/other.txt
libexec/vlang/cmd/v/help/outdated.txt
@@ -184,10 +185,15 @@ libexec/vlang/vlib/builtin/array_shrinkage_test.v
libexec/vlang/vlib/builtin/array_test.v
libexec/vlang/vlib/builtin/builtin.c.v
libexec/vlang/vlib/builtin/builtin.v
+libexec/vlang/vlib/builtin/builtin_backtraces_d_musl.c.v
+libexec/vlang/vlib/builtin/builtin_backtraces_nix.c.v
libexec/vlang/vlib/builtin/builtin_d_gcboehm.c.v
+libexec/vlang/vlib/builtin/builtin_d_use_libbacktrace.c.v
libexec/vlang/vlib/builtin/builtin_ios.c.v
libexec/vlang/vlib/builtin/builtin_nix.c.v
libexec/vlang/vlib/builtin/builtin_notd_gcboehm.c.v
+libexec/vlang/vlib/builtin/builtin_notd_use_libbacktrace.c.v
+libexec/vlang/vlib/builtin/builtin_test.v
libexec/vlang/vlib/builtin/builtin_windows.c.v
libexec/vlang/vlib/builtin/byte_test.v
libexec/vlang/vlib/builtin/cfns.c.v
@@ -464,6 +470,7 @@ libexec/vlang/vlib/gg/gg.v
libexec/vlang/vlib/gg/gg_android.c.v
libexec/vlang/vlib/gg/gg_darwin.c.v
libexec/vlang/vlib/gg/gg_darwin.m
+libexec/vlang/vlib/gg/gg_ui.c.v
libexec/vlang/vlib/gg/image.c.v
libexec/vlang/vlib/gg/image.js.v
libexec/vlang/vlib/gg/image.v
@@ -1006,6 +1013,7 @@ libexec/vlang/vlib/time/README.md
libexec/vlang/vlib/time/Y2K38_test.v
libexec/vlang/vlib/time/chrono.c.v
libexec/vlang/vlib/time/chrono.v
+libexec/vlang/vlib/time/custom_format_test.v
libexec/vlang/vlib/time/duration_test.v
libexec/vlang/vlib/time/format.v
libexec/vlang/vlib/time/misc/misc.v
@@ -1017,6 +1025,7 @@ libexec/vlang/vlib/time/parse.js.v
libexec/vlang/vlib/time/parse.v
libexec/vlang/vlib/time/parse_test.v
libexec/vlang/vlib/time/private_test.v
+libexec/vlang/vlib/time/relative_test.v
libexec/vlang/vlib/time/stopwatch.v
libexec/vlang/vlib/time/stopwatch_test.v
libexec/vlang/vlib/time/time.c.v
@@ -1061,6 +1070,7 @@ libexec/vlang/vlib/v/ast/native.v
libexec/vlang/vlib/v/ast/scope.v
libexec/vlang/vlib/v/ast/str.v
libexec/vlang/vlib/v/ast/table.v
+libexec/vlang/vlib/v/ast/type_size_test.v
libexec/vlang/vlib/v/ast/types.v
libexec/vlang/vlib/v/ast/types_test.v
libexec/vlang/vlib/v/ast/walker/walker.v
@@ -1146,7 +1156,7 @@ libexec/vlang/vlib/v/gen/c/fn.v
libexec/vlang/vlib/v/gen/c/for.v
libexec/vlang/vlib/v/gen/c/if.v
libexec/vlang/vlib/v/gen/c/index.v
-libexec/vlang/vlib/v/gen/c/infix_expr.v
+libexec/vlang/vlib/v/gen/c/infix.v
libexec/vlang/vlib/v/gen/c/json.v
libexec/vlang/vlib/v/gen/c/live.v
libexec/vlang/vlib/v/gen/c/match.v
@@ -1164,6 +1174,8 @@ libexec/vlang/vlib/v/gen/c/testdata/assert_fncalls.out
libexec/vlang/vlib/v/gen/c/testdata/assert_fncalls.vv
libexec/vlang/vlib/v/gen/c/testdata/check_combination_of_alias_and_sumtype.c.must_have
libexec/vlang/vlib/v/gen/c/testdata/check_combination_of_alias_and_sumtype.vv
+libexec/vlang/vlib/v/gen/c/testdata/comp_if_unknown.c.must_have
+libexec/vlang/vlib/v/gen/c/testdata/comp_if_unknown.vv
libexec/vlang/vlib/v/gen/c/testdata/compare_structs.c.must_have
libexec/vlang/vlib/v/gen/c/testdata/compare_structs.vv
libexec/vlang/vlib/v/gen/c/testdata/console_windows_program.c.must_have
@@ -1185,6 +1197,9 @@ libexec/vlang/vlib/v/gen/c/testdata/embed_with_prod_zlib.vv
libexec/vlang/vlib/v/gen/c/testdata/enum_switch_case.c.must_have
libexec/vlang/vlib/v/gen/c/testdata/enum_switch_case.out
libexec/vlang/vlib/v/gen/c/testdata/enum_switch_case.vv
+libexec/vlang/vlib/v/gen/c/testdata/export_and_weak.c.must_have
+libexec/vlang/vlib/v/gen/c/testdata/export_and_weak.out
+libexec/vlang/vlib/v/gen/c/testdata/export_and_weak.vv
libexec/vlang/vlib/v/gen/c/testdata/for_in.c.must_have
libexec/vlang/vlib/v/gen/c/testdata/for_in.out
libexec/vlang/vlib/v/gen/c/testdata/for_in.vv
@@ -1194,6 +1209,9 @@ libexec/vlang/vlib/v/gen/c/testdata/gui_windows_program.c.must_have
libexec/vlang/vlib/v/gen/c/testdata/gui_windows_program.vv
libexec/vlang/vlib/v/gen/c/testdata/gui_windows_program_with_console_tag.c.must_have
libexec/vlang/vlib/v/gen/c/testdata/gui_windows_program_with_console_tag.vv
+libexec/vlang/vlib/v/gen/c/testdata/strlit_len_optimization.c.must_have
+libexec/vlang/vlib/v/gen/c/testdata/strlit_len_optimization.out
+libexec/vlang/vlib/v/gen/c/testdata/strlit_len_optimization.vv
libexec/vlang/vlib/v/gen/c/testdata/volatile.c.must_have
libexec/vlang/vlib/v/gen/c/testdata/volatile.out
libexec/vlang/vlib/v/gen/c/testdata/volatile.vv
diff --git a/vlang/TODO b/vlang/TODO
index 201d9e64fb..b66bb40375 100644
--- a/vlang/TODO
+++ b/vlang/TODO
@@ -17,7 +17,3 @@ vtest.8479168851317294636.tmp.c:(.text+0x1f877): undefined reference to `pthread
...
I patched it out. Should be upstreamed somehow, cleanly.
-
-
-Update to 2022.19 with vc commit ID a298ad7069f6333ef8ab59a616654fc74e04c847.
-Fails on NetBSD 9.99.x due to missing pthread_rwlockattr_setpshared.
diff --git a/vlang/distinfo b/vlang/distinfo
index b40b287660..324ad1e4fb 100644
--- a/vlang/distinfo
+++ b/vlang/distinfo
@@ -3,12 +3,12 @@ $NetBSD$
BLAKE2s (vlang-tccbin-de82a130c282c03eac3ccd442b995a5174e865ec.tar.gz) = cf27d23634b6a06bf6cf0f8a71579f43a8e18726e55868ccf2248d767a856780
SHA512 (vlang-tccbin-de82a130c282c03eac3ccd442b995a5174e865ec.tar.gz) = 216d00fca872789d2e904e6dc2e414fc77d1246e54d2380e3bda3df8ae6c9cbe1f6b5660e82079f03b289347360b0bc0e4745572d10b29ddf8cb2c95ba8e65e9
Size (vlang-tccbin-de82a130c282c03eac3ccd442b995a5174e865ec.tar.gz) = 353 bytes
-BLAKE2s (vlang-vc-4505557b56638eb931182f764580767e22cf110d.tar.gz) = b54abb3e22b71cd08f9e7e4f95c8cd5d8c7400f6110286e2ee89d35520de0f4e
-SHA512 (vlang-vc-4505557b56638eb931182f764580767e22cf110d.tar.gz) = ee41cf554d10955536d15a463c0fbff2fc5625d067f509968d886ca74af2ea7c0b65060f6b5cdf54aae8fe8c6406dab138e9966c4b9e8b314ad2c1490fd129ea
-Size (vlang-vc-4505557b56638eb931182f764580767e22cf110d.tar.gz) = 1364231 bytes
-BLAKE2s (vlang-weekly-2022.16.tar.gz) = 14376a780cfb4c84b07032c94702941f5d2a0b33c42e02f64c48b55d6f084298
-SHA512 (vlang-weekly-2022.16.tar.gz) = 1a23ae8d4bc2fa496757147580330a82edeaf3e825721b5489d38debce48e38467f6b0b45271ab0d39170102b1710c8d3cdc31499fb70fece8f376f0f455f461
-Size (vlang-weekly-2022.16.tar.gz) = 4172510 bytes
+BLAKE2s (vlang-vc-a298ad7069f6333ef8ab59a616654fc74e04c847.tar.gz) = 7c58bebf55f902168d2e66d9e41330f075204ad36ba22bfe4958f9acb7aa143a
+SHA512 (vlang-vc-a298ad7069f6333ef8ab59a616654fc74e04c847.tar.gz) = a5f4b37836e405fc77c8c00a913a0ecc84f5243a9ec2d87b0d47d569a9d22b50a6385cd90abbb311b05afb804428dae9984f21b490d32659126d24782341b569
+Size (vlang-vc-a298ad7069f6333ef8ab59a616654fc74e04c847.tar.gz) = 1449080 bytes
+BLAKE2s (vlang-weekly-2022.19.tar.gz) = 08f57c7ffd53d6673e4cf486823b343371392640f4ce5de50a78d4524e2c96c3
+SHA512 (vlang-weekly-2022.19.tar.gz) = 792dcb75a0358553d885843ab9b72794734432c6c688bc04c508ac4a1ae92b4ae3bfb87a9b05d587c342cc8803013ed448e82a9227b5edc6b9ac44b96c1ebe52
+Size (vlang-weekly-2022.19.tar.gz) = 4286946 bytes
SHA1 (patch-vc_v.c) = 180e46e4a1bd195e703eb0eaf9c23b4c4621af6e
SHA1 (patch-vlib_builtin_cfns.c.v) = 04d7dbf760a271c99757d59a11a219db4aefe88c
SHA1 (patch-vlib_sync_sync__default.c.v) = ef64b72a914ee76d493ff587948b2d142cb497ee
diff --git a/vlang/example b/vlang/example
new file mode 100755
index 0000000000..67ca95dd94
Binary files /dev/null and b/vlang/example differ
diff --git a/vlang/example.v b/vlang/example.v
new file mode 100644
index 0000000000..16c8f72b1d
--- /dev/null
+++ b/vlang/example.v
@@ -0,0 +1,7 @@
+fn main() {
+ areas := ['game', 'web', 'tools', 'science', 'systems',
+ 'embedded', 'drivers', 'GUI', 'mobile']
+ for area in areas {
+ println('Hello, $area developers!')
+ }
+}
Home |
Main Index |
Thread Index |
Old Index