Subject: CVS commit: pkgsrc/lang/zig
From: Maya Rashish
Date: 2019-02-27 11:46:16
Message id: 20190227104616.A7AA9FB16@cvs.NetBSD.org

Log Message:
zig: update to today's (2019-02-27) snapshot of master.

Allows us to drop all the local patches that were merged upstream.
lld is not a dependency, zig by default bundles lld and doesn't use
an external one. comment it.

Andrew Kelley (62):
      Merge pull request #1975 from BenoitJGirard/master
      Merge pull request #1963 from matthew-mcallister/dedup-compile-log-warning
      Merge pull request #1972 from coypoop/netbsd
      README: add NetBSD to support table
      pull request fixups
      Merge branch 'emekoi-fix-1711'
      export _mh_execute_header with weak linkage
      docs: note top level declarations are order-independent
      docs: shadowing
      zig fmt: fix infix operator before multiline string literal
      add test for 74bdc1d1f898705
      Merge branch 'kristate-zig-backport-issue1944'
      remove --no-rosegment workaround now that valgrind bug is fixed
      valgrind client requests for undefined values
      Merge branch 'slice-deref-failure' of \ 
https://github.com/matthew-mcallister/zig into \ 
matthew-mcallister-slice-deref-failure
      pull request fixups
      Merge branch 'matthew-mcallister-slice-deref-failure'
      deduplicate compile errors for undeclared identifiers
      packed structs support comptime bitcasting
      extern structs support comptime bitcasting
      `@sliceToBytes` works at comptime
      better handling of arrays in packed structs
      better field access of types which have one possible value
      fix `@bitCast` when src/dest types have mismatched handle_is_ptr
      docs for packed structs
      add regression test for bitcast to array
      implement vector negation
      better libc detection (#1996)
      introduce std.debug.captureStackTrace
      fix `zig fmt` arg0 handled incorrectly
      add `zig cc` command to act like a C compiler
      zig cc: remove "polly" which was an undefined symbol on macos
      zig cc: work around clang calling GetCommandLine on Windows
      Merge pull request #2003 from ziglang/zig-cc
      first class support for compiling C code
      building DLLs on Windows works better
      `@cImport` works with `--cache on`
      Merge pull request #2005 from ziglang/c-source
      zig build: 2 improvements
      fix infinite recursion in type_has_one_possible_value
      delete incorrect TODO comment
      add docs for zero bit types and pointers to zero bit types
      fix not finding libgcc_s when looking for native libc
      add a compile error note when C import fails and not linking libc
      better error message when forgetting to link against libc
      add a regression test for #704
      fix incorrectly trying to memset at comptime
      fix the libc compile error tests to only run on linux
      use -nobuiltininc when compiling c code
      use -nostdinc++ when compiling C code
      use -nostdinc and sometimes -nolibc when compiling C code
      breaking changes to the way targets work in zig
      fix regressions on Windows
      introduce sys_include_dir for when sys/* files are not with stdlib.h
      add builder.addFmt API and use it to test stage1 zig fmt
      fix .gitignore file and add commit missing std lib file
      add test coverage for binary OR on error sets
      add test coverage for type used as switch case
      fix handling when there are multiple externs and
      fix stage1 zig fmt on macos
      improve docs for unions and switching on tagged unions
      windows returns EINVAL for fopen when there is an asterisk in the name

Benoit Jauvin-Girard (1):
      Fix std.math.powi so powi(x, +-0) = 1 for any x.

BenoitJGirard (2):
      Merge pull request #1 from ziglang/master
      Merge pull request #2 from ziglang/master

Jimmi HC (1):
      Fixed std.testing.expectEqual

John Schmidt (2):
      Some function doc tweaks (#1961)
      Add priority queue

LemonBoy (4):
      Silence gcc8 class-memaccess warnings
      Add align attribute for params pointers
      Translate parameterless C functions (#1978)
      Prevent crash in tagged enums rendering (#1986)

Matthew McAllister (3):
      Fix lvalue dereference type checking
      Deduplicate compile log statement warnings
      Check for duped error messages in compile tests

Maya Rashish (3):
      Add NetBSD support
      Undo local, unneeded patch
      Don't provide a bogus definition of EVFILT_USER

Quetzal Bradley (1):
      fix openWriteNoClobber and add test

emekoi (1):
      make @enumToInt work on union(enum)

kristopher tate (1):
      src/analyze.cpp: default to using `param_node` upon callconv error;

Files:
RevisionActionfile
1.2modifypkgsrc/lang/zig/Makefile
1.2modifypkgsrc/lang/zig/PLIST
1.2modifypkgsrc/lang/zig/distinfo
1.1removepkgsrc/lang/zig/files/std_c_netbsd.zig
1.1removepkgsrc/lang/zig/files/std_os_netbsd_errno.zig
1.1removepkgsrc/lang/zig/files/std_os_netbsd_index.zig
1.1removepkgsrc/lang/zig/patches/patch-CMakeLists.txt
1.1removepkgsrc/lang/zig/patches/patch-src-self-hosted_libc__installation.zig
1.1removepkgsrc/lang/zig/patches/patch-src_analyze.cpp
1.1removepkgsrc/lang/zig/patches/patch-src_codegen.cpp
1.1removepkgsrc/lang/zig/patches/patch-src_link.cpp
1.1removepkgsrc/lang/zig/patches/patch-src_os.cpp
1.1removepkgsrc/lang/zig/patches/patch-src_os.hpp
1.1removepkgsrc/lang/zig/patches/patch-src_target.cpp
1.1removepkgsrc/lang/zig/patches/patch-std_c_index.zig
1.1removepkgsrc/lang/zig/patches/patch-std_debug_index.zig
1.1removepkgsrc/lang/zig/patches/patch-std_event_fs.zig
1.1removepkgsrc/lang/zig/patches/patch-std_event_loop.zig
1.1removepkgsrc/lang/zig/patches/patch-std_heap.zig
1.1removepkgsrc/lang/zig/patches/patch-std_os_file.zig
1.1removepkgsrc/lang/zig/patches/patch-std_os_get__app__data__dir.zig
1.1removepkgsrc/lang/zig/patches/patch-std_os_get__user__id.zig
1.1removepkgsrc/lang/zig/patches/patch-std_os_index.zig
1.1removepkgsrc/lang/zig/patches/patch-std_os_path.zig
1.1removepkgsrc/lang/zig/patches/patch-std_os_time.zig