summaryrefslogtreecommitdiff
path: root/lang
AgeCommit message (Collapse)AuthorFilesLines
2020-05-18py-pygls: Sort PLISTleot1-20/+20
2020-05-18rust: if variables are supposed to be overridable, set them with ?=wiz1-3/+3
2020-05-18rust: Update COMMENTnia1-2/+2
2020-05-18lang: Add rust-bin.nia8-3/+259
Dumb package that selects and installs a binary rust distribution based on its guess of your platform (FreeBSD, NetBSD, Linux x86_64 are all supported). These binaries are the official ones provided by rust upstream and are the same as those provided by the `rustup` tool. You can choose to use a binary rust distribution by setting: RUST_TYPE=bin in mk.conf (or source distribution with RUST_TYPE=src). Currently, RUST_TYPE=bin by default ONLY for NetBSD-x86_64. This is because TNF has been shown to _repeatedly_ be unable and _unwilling_ to ensure that rust-dependent packages build properly on their infrastructure, and NetBSD users are all suffering for it. This was based on minskim's work in pkgsrc-wip. It was tested by building librsvg and firefox-esr with the resulting binaries.
2020-05-18lang/Makefile: + py-cmake-language-serverwiz1-1/+2
2020-05-18lang/py-cmake-language-server: import py-cmake-language-server-0.1.1wiz6-0/+70
CMake Language Server Protocol implementation.
2020-05-18lang/Makefile: + py-pygls.wiz1-1/+2
2020-05-18lang/py-pygls: import py-pygls-0.9.0wiz5-0/+104
pygls (pronounced like "pie glass") is a pythonic generic implementation of the Language Server Protocol for use as a foundation for writing language servers using Python (e.g. Python, XML, etc.). It allows you to write your own language server in just a few lines of code.
2020-05-18lang/Makefile: + py-python-language-serverwiz1-4/+2
2020-05-18lang/py-python-language-server: import py-python-language-server-0.32.0wiz6-0/+173
A Python 2.7 and 3.5+ implementation of the Language Server Protocol.
2020-05-17lang/gcc9: fix build with -Werror=char-subscriptsrillig8-3/+162
2020-05-17lang/gcc49: build even with -Werror=char-subscriptsrillig1-1/+7
2020-05-17lang/gcc48: build even with -Werror=char-subscriptsrillig1-1/+7
2020-05-17lang/gcc10: fix patch checksums to include the bug report URLrillig1-7/+7
2020-05-17lang/gcc10: fix build with -Werror=char-subscriptsrillig8-2/+162
2020-05-17pytest from versioned dependsadam3-6/+11
2020-05-17elixir: Update to 1.10.3nia2-7/+7
## v1.10.3 (2020-04-25) ### 1. Bug fixes #### Elixir * [Code] Return `[{mod, bin}]` from `Code.compile_file/2`, `Code.require_file/2`, `Code.load_file/2` * [Code] Make sure the formatter respects newlines before and after module attributes * [Kernel.ParallelCompiler] Fix a bug where the parallel compiler would raise in long compilation cycles * [Kernel.ParallelCompiler] Fix a bug where the parallel compiler would raise if some of the modules being compiled referred to a module that has been loaded directly to memory * [Module] Fix accidental breaking change where bodiless clauses had their body value on `@on_definition` callbacks set to an empty list instead of `nil` * [String] Undeprecate `String.normalize/2` normalize and fix infinite loop caused by certain invalid strings #### ExUnit * [ExUnit.Assertions] Fix pattern matching diff when matching on pinned variables * [ExUnit.Assertions] Fix pattern matching diff when matching variable struct names * [ExUnit.Assertions] Fix pattern matching diff when matching on the binary concat operator (`<>`) and the left side is not a literal string * [ExUnit.Assertions] Fix pattern matching diff when matching on pseudo-vars (`__MODULE__`, `__DIR__`, etc) #### Mix * [mix release] Respect the `:path` option when creating a `:tar` file for releases
2020-05-17Update lang/rust to version 1.43.1.he2-7/+7
Pkgsrc changes: * None. Upstream changes: Version 1.43.1 (2020-05-07) =========================== * [Updated openssl-src to 1.1.1g for CVE-2020-1967.][71430] * [Fixed the stabilization of AVX-512 features.][71473] * [Fixed `cargo package --list` not working with unpublished dependencies.] [cargo/8151] [71430]: https://github.com/rust-lang/rust/pull/71430 [71473]: https://github.com/rust-lang/rust/issues/71473 [cargo/8151]: https://github.com/rust-lang/cargo/issues/8151
2020-05-17openjdk*: catch up with cups changes in CONFIGURE_ARGStnn2-4/+4
2020-05-17openjdk*: switch the build dependency from cups-base to libcupstnn2-6/+6
2020-05-17g/c references to openjdk7tnn1-2/+2
2020-05-17retire lang/openjdk7tnn137-6033/+1
2020-05-16clang-tools-extra: update to 10.0.0nb1.wiz1-1/+4
Add missing dependency on clang for libclang-cpp.so.
2020-05-16lang/php72: fix build with GNU_CONFIGURE_STRICT=yesrillig1-1/+2
Most PHP modules don't know the --with-pcre-dir option.
2020-05-16chicken: Update to version 5.2.0nikita2-8/+7
Changelog: 5.2.0 - Core libraries - Fix `memory-statistics` by returning semi-space bytes and used semi-space bytes like the documentation says. Old implementation returned full-heap size and (full-heap - used-semi-space). - for-each and map now behave consistently in compiled and interpreted mode, like in SRFI-1. They now stop when the shortest list is exhausted instead of raising an exception (fixes #1422). - There is now a srfi-88 module which contains just the three procedures from the (chicken keyword) module defined by the SRFI. - A feature identifier named "srfi-88" is now registered. - The procedures `record-printer` and `set-record-printer!` and a corresponding SRFI-17 setter have been added. These deprecate `define-record-printer` which isn't a "real" definition (see #1294). - On Windows, `decompose-directory` no longer crashes when a drive letter is present in the supplied path string. - irregex-replace[/all] have been fixed for empty matches, so they will no longer drop characters and ignore the replacement (#1661). - Irregex has been updated to upstream 0.9.7, which also improves how empty matches are treated in irregex-fold and irregex-split. - Runtime system - Quoted empty keywords like ||: and :|| are now read like prescribed by SRFI-88 in the corresponding keyword mode. Symbols containing quoted empty prefixes or suffixes like ||:abc and abc:|| will be read correctly as symbols now (fixes #1625, thanks to Andy Bennett). - IEEE floating point negative zero is now properly handled: it can be read, written and distinguished by eqv? and equal?, but not = (fixes #1627, thanks to John Cowan). - ##sys#check-exact and its C implementations C_i_check_exact and C_i_check_exact_2 have been deprecated (see also #1631). - When garbage collector is manually invoked from a finalizer, raise an error instead of hanging forever (fixes #1586). - define-record-type will now give an error if the constructor definition refers to field that's not listed elsewhere (see #1633) - Added new -:hu option to set the memory usage low watermark percentage at which the heap should be shrunk, and changed the calculation to actually reflect this (see #1379). - Compiler - Fixed a bug in lfa2 pass which caused "if" or "cond" nodes to be incorrectly unboxed if the "else" branch had a flonum result type (#1624, thanks to Sven Hartrumpf) - Inline files no longer refer to unexported foreign stub functions (fixes #1440, thanks to "megane"). - In some cases, rest argument lists do not need to be reified, which should make using optional arguments and case-lambda faster (#1623). - Values from foreign types which have an argument or return value converter are no longer inferred to have the Scheme type which corresponds to the raw foreign type, which was incorrect (#1649). - Module system - Trying to export a foreign variable, define-inlined procedure or define-constant variable gives a friendly error instead of saying the variable doesn't exist (fixes #1346). - When modules are registered, they no longer pollute the global environment with imports made in that module (fixes #1548) - Tools - The new "-module-registration" options causes module registration code to always be included in the program, even when it has also been emitted as a separate file (for example with "-J"). - chicken-install now correctly checks server response code to avoid interpreting error response bodies (like 404, 500) as Scheme code. - chicken-install now follows HTTP redirects when downloading eggs. - chicken-install will now change to the correct drive before attempting to change to the egg directory (fixes #1647).
2020-05-16rust: use upstream's fix for previoustnn2-5/+9
2020-05-16rust: try to fix some llvm-10 fallouttnn3-1/+38
2020-05-16lang/ruby: start update of Ruby on Rails to 6.0.3taca1-2/+2
Start update of Ruby on Rails to 6.0.3.
2020-05-16lang/openjdk7: remove redundant patchrillig2-16/+1
This is already taken care of by SUBST_CLASSES+=ccspath.
2020-05-16lang/sather: allow no-op SUBST blockrillig1-1/+2
2020-05-16Update lang/rust to version 1.43.0.he2-103/+102
Pkgsrc changes: * Bump rust bootstrap version to 1.42.0, except for Darwin/i686 where the bootstrap is not (yet?) available. Upstream changes: Version 1.43.0 (2020-04-23) ========================== Language -------- - [Fixed using binary operations with `&{number}` (e.g. `&1.0`) not having the type inferred correctly.][68129] - [Attributes such as `#[cfg()]` can now be used on `if` expressions.][69201] **Syntax only changes** - [Allow `type Foo: Ord` syntactically.][69361] - [Fuse associated and extern items up to defaultness.][69194] - [Syntactically allow `self` in all `fn` contexts.][68764] - [Merge `fn` syntax + cleanup item parsing.][68728] - [`item` macro fragments can be interpolated into `trait`s, `impl`s, and `extern` blocks.][69366] For example, you may now write: ```rust macro_rules! mac_trait { ($i:item) => { trait T { $i } } } mac_trait! { fn foo() {} } ``` These are still rejected *semantically*, so you will likely receive an error but these changes can be seen and parsed by macros and conditional compilation. Compiler -------- - [You can now pass multiple lint flags to rustc to override the previous flags.][67885] For example; `rustc -D unused -A unused-variables` denies everything in the `unused` lint group except `unused-variables` which is explicitly allowed. However, passing `rustc -A unused-variables -D unused` denies everything in the `unused` lint group **including** `unused-variables` since the allow flag is specified before the deny flag (and therefore overridden). - [rustc will now prefer your system MinGW libraries over its bundled libraries if they are available on `windows-gnu`.][67429] - [rustc now buffers errors/warnings printed in JSON.][69227] Libraries --------- - [`Arc<[T; N]>`, `Box<[T; N]>`, and `Rc<[T; N]>`, now implement `TryFrom<Arc<[T]>>`,`TryFrom<Box<[T]>>`, and `TryFrom<Rc<[T]>>` respectively.][69538] **Note** These conversions are only available when `N` is `0..=32`. - [You can now use associated constants on floats and integers directly, rather than having to import the module.][68952] e.g. You can now write `u32::MAX` or `f32::NAN` with no imports. - [`u8::is_ascii` is now `const`.][68984] - [`String` now implements `AsMut<str>`.][68742] - [Added the `primitive` module to `std` and `core`.][67637] This module reexports Rust's primitive types. This is mainly useful in macros where you want avoid these types being shadowed. - [Relaxed some of the trait bounds on `HashMap` and `HashSet`.][67642] - [`string::FromUtf8Error` now implements `Clone + Eq`.][68738] Stabilized APIs --------------- - [`Once::is_completed`] - [`f32::LOG10_2`] - [`f32::LOG2_10`] - [`f64::LOG10_2`] - [`f64::LOG2_10`] - [`iter::once_with`] Cargo ----- - [You can now set config `[profile]`s in your `.cargo/config`, or through your environment.][cargo/7823] - [Cargo will now set `CARGO_BIN_EXE_<name>` pointing to a binary's executable path when running integration tests or benchmarks.][cargo/7697] `<name>` is the name of your binary as-is e.g. If you wanted the executable path for a binary named `my-program`you would use `env!("CARGO_BIN_EXE_my-program")`. Misc ---- - [Certain checks in the `const_err` lint were deemed unrelated to const evaluation][69185], and have been moved to the `unconditional_panic` and `arithmetic_overflow` lints. Compatibility Notes ------------------- - [Having trailing syntax in the `assert!` macro is now a hard error.][69548] This has been a warning since 1.36.0. - [Fixed `Self` not having the correctly inferred type.][69340] This incorrectly led to some instances being accepted, and now correctly emits a hard error. [69340]: https://github.com/rust-lang/rust/pull/69340 Internal Only ------------- These changes provide no direct user facing benefits, but represent significant improvements to the internals and overall performance of `rustc` and related tools. - [All components are now built with `opt-level=3` instead of `2`.][67878] - [Improved how rustc generates drop code.][67332] - [Improved performance from `#[inline]`-ing certain hot functions.][69256] - [traits: preallocate 2 Vecs of known initial size][69022] - [Avoid exponential behaviour when relating types][68772] - [Skip `Drop` terminators for enum variants without drop glue][68943] - [Improve performance of coherence checks][68966] - [Deduplicate types in the generator witness][68672] - [Invert control in struct_lint_level.][68725] [67332]: https://github.com/rust-lang/rust/pull/67332/ [67429]: https://github.com/rust-lang/rust/pull/67429/ [67637]: https://github.com/rust-lang/rust/pull/67637/ [67642]: https://github.com/rust-lang/rust/pull/67642/ [67878]: https://github.com/rust-lang/rust/pull/67878/ [67885]: https://github.com/rust-lang/rust/pull/67885/ [68129]: https://github.com/rust-lang/rust/pull/68129/ [68672]: https://github.com/rust-lang/rust/pull/68672/ [68725]: https://github.com/rust-lang/rust/pull/68725/ [68728]: https://github.com/rust-lang/rust/pull/68728/ [68738]: https://github.com/rust-lang/rust/pull/68738/ [68742]: https://github.com/rust-lang/rust/pull/68742/ [68764]: https://github.com/rust-lang/rust/pull/68764/ [68772]: https://github.com/rust-lang/rust/pull/68772/ [68943]: https://github.com/rust-lang/rust/pull/68943/ [68952]: https://github.com/rust-lang/rust/pull/68952/ [68966]: https://github.com/rust-lang/rust/pull/68966/ [68984]: https://github.com/rust-lang/rust/pull/68984/ [69022]: https://github.com/rust-lang/rust/pull/69022/ [69185]: https://github.com/rust-lang/rust/pull/69185/ [69194]: https://github.com/rust-lang/rust/pull/69194/ [69201]: https://github.com/rust-lang/rust/pull/69201/ [69227]: https://github.com/rust-lang/rust/pull/69227/ [69548]: https://github.com/rust-lang/rust/pull/69548/ [69256]: https://github.com/rust-lang/rust/pull/69256/ [69361]: https://github.com/rust-lang/rust/pull/69361/ [69366]: https://github.com/rust-lang/rust/pull/69366/ [69538]: https://github.com/rust-lang/rust/pull/69538/ [cargo/7823]: https://github.com/rust-lang/cargo/pull/7823 [cargo/7697]: https://github.com/rust-lang/cargo/pull/7697 [`Once::is_completed`]: https://doc.rust-lang.org/std/sync/struct.Once.html#method.is_completed [`f32::LOG10_2`]: https://doc.rust-lang.org/std/f32/consts/constant.LOG10_2.html [`f32::LOG2_10`]: https://doc.rust-lang.org/std/f32/consts/constant.LOG2_10.html [`f64::LOG10_2`]: https://doc.rust-lang.org/std/f64/consts/constant.LOG10_2.html [`f64::LOG2_10`]: https://doc.rust-lang.org/std/f64/consts/constant.LOG2_10.html [`iter::once_with`]: https://doc.rust-lang.org/std/iter/fn.once_with.html
2020-05-16fix pytest->testadam1-3/+3
2020-05-16Update go113 to 1.13.11.bsiegert3-9/+9
go1.13.11 (released 2020/05/14) includes fixes to the compiler. See the Go 1.13.11 milestone on our issue tracker for details.
2020-05-16python: add pytest to versioned_dependencies.mkadam1-4/+5
2020-05-15openjdk8: Remove -pie on SunOS.jperkin2-44/+54
2020-05-15python38: updated to 3.8.3adam8-30/+30
Python 3.8.3 final Core and Builtins bpo-40527: Fix command line argument parsing: no longer write errors multiple times into stderr. bpo-40417: Fix imp module deprecation warning when PyImport_ReloadModule is called. Patch by Robert Rouhani. bpo-39562: The constant values of future flags in the __future__ module are updated in order to prevent collision with compiler flags. Previously PyCF_ALLOW_TOP_LEVEL_AWAIT was clashing with CO_FUTURE_DIVISION. Library bpo-40559: Fix possible memory leak in the C implementation of asyncio.Task. bpo-40355: Improve error reporting in ast.literal_eval() in the presence of malformed ast.Dict nodes instead of silently ignoring any non-conforming elements. Patch by Curtis Bucher. bpo-40459: platform.win32_ver() now produces correct ptype strings instead of empty strings. bpo-40398: typing.get_args() now always returns an empty tuple for special generic aliases. Documentation bpo-40561: Provide docstrings for webbrowser open functions. bpo-39435: Fix an incorrect signature for pickle.loads() in the docs Windows bpo-40458: Increase reserved stack space to prevent overflow crash on Windows. C API bpo-40412: Nullify inittab_copy during finalization, preventing future interpreter initializations in an embedded situation from crashing.
2020-05-14document non-obvious readline build dependencytnn4-4/+8
2020-05-14Fix PLIST for libgcc handling.joerg2-3/+14
2020-05-14Don't mess up <exception> with abort() hack, just include it alwaysjoerg2-4/+14
before doing the latter.
2020-05-14Honor pkgsrc environment.joerg1-5/+5
2020-05-14zig: Installs a script that requires bash.nia1-1/+4
Replace the interpreter so this doesn't fail with PKG_DEVELOPER. Please set PKG_DEVELOPER=yes to detect problems like this!
2020-05-14guile22: include bugticket in patchnikita2-3/+5
2020-05-14lang/guile22: crude but working patch to make target-vendor check conformingnikita3-3/+24
2020-05-14lang/php72: update to 7.2.31taca2-7/+7
Update php72 to 7.2.31 (PHP 7.2.31). 14 May 2020, PHP 7.2.31 - Core: . Fixed bug #78875 (Long filenames cause OOM and temp files are not cleaned). (CVE-2019-11048) (cmb) . Fixed bug #78876 (Long variables in multipart/form-data cause OOM and temp files are not cleaned). (CVE-2019-11048) (cmb)
2020-05-14lang/php74: update to 7.4.6taca2-7/+7
Update php74 to 7.4.6 (PHP 7.4.6). 14 May 2020, PHP 7.4.6 - Core: . Fixed bug #78434 (Generator yields no items after valid() call). (Nikita) . Fixed bug #79477 (casting object into array creates references). (Nikita) . Fixed bug #79514 (Memory leaks while including unexistent file). (cmb, Nikita) . Fixed bug #79470 (PHP incompatible with 3rd party file system on demand). (cmb) . Fixed bug #78784 (Unable to interact with files inside a VFS for Git repository). (cmb) . Fixed bug #78875 (Long variables cause OOM and temp files are not cleaned). (cmb) (CVE-2019-11048) . Fixed bug #78876 (Long variables cause OOM and temp files are not cleaned). (cmb) (CVE-2019-11048) - DOM: . Fixed bug #78221 (DOMNode::normalize() doesn't remove empty text nodes). (cmb) - EXIF: . Fixed bug #79336 (ext/exif/tests/bug79046.phpt fails on Big endian arch). (Nikita) - FCGI: . Fixed bug #79491 (Search for .user.ini extends up to root dir). (cmb) - MBString: . Fixed bug #79441 (Segfault in mb_chr() if internal encoding is unsupported). (Girgias) - OpenSSL: . Fixed bug #79497 (stream_socket_client() throws an unknown error sometimes with <1s timeout). (Joe Cai) - PCRE: . Upgraded to PCRE2 10.34. (cmb) - Phar: . Fixed bug #79503 (Memory leak on duplicate metadata). (cmb) - SimpleXML: . Fixed bug #79528 (Different object of the same xml between 7.4.5 and 7.4.4). (cmb) - SPL: . Fixed bug #69264 (__debugInfo() ignored while extending SPL classes). (cmb) . Fixed bug #67369 (ArrayObject serialization drops the iterator class). (Alex Dowad) - Standard: . Fixed bug #79468 (SIGSEGV when closing stream handle with a stream filter appended). (dinosaur) . Fixed bug #79447 (Serializing uninitialized typed properties with __sleep should not throw). (nicolas-grekas)
2020-05-14lang/php73: update to 7.3.18taca2-7/+7
Update php73 to 7.3.18 (PHP 7.3.18). 14 May 2020, PHP 7.3.18 - Core: . Fixed bug #78875 (Long filenames cause OOM and temp files are not cleaned). (CVE-2019-11048) (cmb) . Fixed bug #78876 (Long variables in multipart/form-data cause OOM and temp files are not cleaned). (CVE-2019-11048) (cmb) . Fixed bug #79434 (PHP 7.3 and PHP-7.4 crash with NULL-pointer dereference on !CS constant). (Nikita) . Fixed bug #79477 (casting object into array creates references). (Nikita) . Fixed bug #79470 (PHP incompatible with 3rd party file system on demand). (cmb) . Fixed bug #78784 (Unable to interact with files inside a VFS for Git repository). (cmb) - DOM: . Fixed bug #78221 (DOMNode::normalize() doesn't remove empty text nodes). (cmb) - FCGI: . Fixed bug #79491 (Search for .user.ini extends up to root dir). (cmb) - MBString: . Fixed bug #79441 (Segfault in mb_chr() if internal encoding is unsupported). (Girgias) - OpenSSL: . Fixed bug #79497 (stream_socket_client() throws an unknown error sometimes with <1s timeout). (Joe Cai) - Phar: . Fix bug #79503 (Memory leak on duplicate metadata). (cmb) - SimpleXML: . Fixed bug #79528 (Different object of the same xml between 7.4.5 and 7.4.4). (cmb) - Standard: . Fixed bug #79468 (SIGSEGV when closing stream handle with a stream filter appended). (dinosaur)
2020-05-14PR pkg/55255rin4-3/+39
Fix build for NetBSD/arm in the same manner as lang/mozjs60. Bump revision.
2020-05-14PR pkg/55255rin4-3/+39
Fix build for NetBSD/arm. Bump revision. Tested by jun@. Thanks!
2020-05-14oo2c: fix a patch checksumgutteridge1-2/+2
2020-05-13lang/oo2c: fix build on NetBSD 8.0rillig2-1/+21