summaryrefslogtreecommitdiff
path: root/lang
AgeCommit message (Collapse)AuthorFilesLines
2022-03-09lang/go: Fix bootstrap on macOS Monterreybacon1-2/+2
Darwin 12 eliminated a kernel feature needed by go 1.10 and earlier. This patch makes Darwin 12 boostrap using go-bin rather than go14.
2022-03-09guile18: fix edit-owiz1-2/+2
2022-03-09lang/guile*: Adjust namespacing comments to realitygdt4-7/+11
This is a comment-only change.
2022-03-08lang/Makefile: + guile30wiz1-1/+2
2022-03-08lang/guile30; Add version 3.0.7wiz10-0/+1107
Packaged by gdt and myself in wip. Compared to guile 2.2, this is a major release which implements a JIT compiler. See NEWS in the sources for more details. GUILE, GNU's Ubiquitous Intelligent Language for Extension, is a library that implements the Scheme language plus various convenient facilities. It's designed so that you can link it into an application or utility to make it extensible. Our plan is to link this library into all GNU programs that call for extensibility. This is guile 3.0, the current stable version.
2022-03-07guile22: fix patch name for pkglintwiz2-3/+3
2022-03-07guile22: add ALTERNATIVES filewiz2-2/+7
2022-03-07guile18: add ALTERNATIVES filewiz2-2/+7
Bump PKGREVISION.
2022-03-07guile20: move to guile/2.0 prefixwiz5-692/+698
Add ALTERNATIVES file. Bump PKGREVISION.
2022-03-07guile: remove, reimported to lang/guile18wiz22-781/+0
2022-03-07*: switch to lang/guile18wiz1-2/+2
2022-03-07lang/guile18: import guile18-1.8.8nb11wiz22-0/+782
Re-import of lang/guile to avoid having an ancient version as the default. GUILE, GNU's Ubiquitous Intelligent Language for Extension, is a library that implements the Scheme language plus various convenient facilities. It's designed so that you can link it into an application or utility to make it extensible. Our plan is to link this library into all GNU programs that call for extensibility. This is an extremely old version of guile. It is installed into guile/1.8 within PREFIX.
2022-03-07sun-jre7: PIE checks not supportednia1-1/+2
2022-03-07gcc6-aux: MKPIE not supportednia1-1/+2
2022-03-07rust-analyzer: updated to 0.0.2022.03.07adam3-13/+12
2022.03.07: New Features * support locals with multiple declaration sites * parse destructuring assignments. Fixes * add another case to the syntax fixup code. * preserve order of generic args. * fix semantic highlighting breaking for lifetimes in macros. * lower string literal values. * show variadic args in hover function signature. * add type variable table to InferenceTableSnapshot. * fix macro-calls expanding to items in if/while conditions. * recognize Self as a proper keyword. * add abort to safe intrinsics list. Internal Improvements * build release binaries on Ubuntu 18.04. * add currently failing test for 11242. * slightly refactor TextEdit. * refactor syntax_highlighting. * bring back syntax highlighting in test data. * re-arrange ide_db modules. * automatically change text color in logo based on dark mode.
2022-03-07Update go117 to 1.17.8 (security).bsiegert3-7/+9
This minor release includes a security fix following the security policy: regexp: stack exhaustion compiling deeply nested expressions On 64-bit platforms, an extremely deeply nested expression can cause regexp.Compile to cause goroutine stack exhaustion, forcing the program to exit. Note this applies to very large expressions, on the order of 2MB. Thanks to Juho Nurminen of Mattermost for reporting this. This is CVE-2022-24921 and https://go.dev/issue/51112.
2022-03-06Update go116 to 1.16.15.bsiegert3-7/+8
This minor release includes a security fix following the security policy: regexp: stack exhaustion compiling deeply nested expressions On 64-bit platforms, an extremely deeply nested expression can cause regexp.Compile to cause goroutine stack exhaustion, forcing the program to exit. Note this applies to very large expressions, on the order of 2MB. Thanks to Juho Nurminen of Mattermost for reporting this. This is CVE-2022-24921 and https://go.dev/issue/51112.
2022-03-06lua/module.mk: Allow passing arguments to bustednia1-3/+10
2022-03-06lua54: update to 5.4.4nia3-8/+7
Bugs fixed: - lua.c assumes that argv has at least one element. - Lua can generate wrong code when _ENV is <const>.
2022-03-05guile22: Adjust languagegdt1-1/+2
This is now the perviosu stable version, as 3.0 has been out for over a year. Note that it is in sub-prefix.
2022-03-05guile20: Warn that it is oldgdt1-1/+2
2022-03-05lang/guile: Strengthen old language, and warn about subprefixgdt1-1/+2
2022-03-05openjdk11: restore checksumstnn1-1/+7
2022-03-05py-libcst: download peg-git during fetch stage, and provide it during buildwiz4-15/+37
avoids network access during build
2022-03-04nim: Update to 1.6.4ryoon2-6/+6
Changelog: Version 1.6.4 released 08 February 2022 The Nim Team The Nim team is happy to announce version 1.6.4, our second patch release for Nim 1.6. Version 1.6.4 is a result of a month and a half of hard work, and it contains 33 commits, fixing one major regression and bringing some general improvements over 1.6.2. The most important fix is for the C FFI regression introduced in 1.6.2. We would recommend to all of our users to upgrade and use version 1.6.4. Bugfixes These reported issues were fixed: * Fixed "Potential C FFI regression" (#19342) * Fixed "re.split unexpected results with zero-width characters" (#14468) * Fixed "Out-of-bounds in strformat" (#19107) * Fixed "Adding an empty list to a non-empty list breaks the latter list" ( #19297) * Fixed "Wrong result when using varargs with var arguments." (#16617) * Fixed "Adding an empty DoublyLinkedList to a non-empty DoublyLinkedList breaks the latter list" (#19314) * Fixed "Silent FFI bug when passing array inside object using gc:orc" (# 19497)
2022-03-03Sync to main rust version, upgrade rust-bin to 1.58.1.he2-42/+45
2022-03-03Sync with rust, update to 1.58.1.he3-8/+136
Various PLIST and adjustment issues.
2022-03-03rust-analyzer: update to 0.0.2022.02.28.wiz9-155/+11
2022-02-28 refactorings and FIXME fixes in text edit 2022-02-22 internal: Remove `name` fields from `MacroCallKind'
2022-03-02algol68g: Update to 3.0.4ryoon9-8/+176
* Enable compiler mode (--compile) for NetBSD at least. Changelog: Version 3.0.3 and 3.0.4 * Unavailable. Version 3.0.1-4, January/February 2022 * Several bug fixes, reported for 3.0.0. * Updates a68g.exe to GSL 2.7.1 and R mathlib 4.1.2. Version 3.0.0, December 2021 * On platforms that support them: 64 bit INT/BITS and 128-bit LONG INT, LONG BITS and LONG REAL. These platforms include amd64, x86_64 and i386 with GCC. * More bindings for routines from the GNU Scientific Library. * Adds a generalized incomplete gamma function. * Builds with R mathlib bindings, if available. * Fixes several minor bugs.
2022-03-01Update lang/rust to version 1.58.1.he15-197/+280
Pkgsrc changes: * Bump bootstrap kit version to 1.57.0. * Bump require external LLVM to 12.0, according to upstream change log. * Adjust patches as needed, adjust line numbers. * Update checksum adjustments. For some reason the vendor/libc checksum doesn't need fixing, apparently, it remains as commented out. * Add makefile to do all the NetBSD boostrap/cross builds (do-cross.mk). Allow passing in additions to CONFIGURE_ARGS via ADD_CONFIGURE_ARGS. Upstream changes: Version 1.58.1 (2022-01-19) =========================== * Fix race condition in `std::fs::remove_dir_all` ([CVE-2022-21658]) * [Handle captured arguments in the `useless_format` Clippy lint][clippy/8295] * [Move `non_send_fields_in_send_ty` Clippy lint to nursery][clippy/8075] * [Fix wrong error message displayed when some imports are missing][91254] * [Fix rustfmt not formatting generated files from stdin][92912] [CVE-2022-21658]: https://www.cve.org/CVERecord?id=CVE-2022-21658] [91254]: https://github.com/rust-lang/rust/pull/91254 [92912]: https://github.com/rust-lang/rust/pull/92912 [clippy/8075]: https://github.com/rust-lang/rust-clippy/pull/8075 [clippy/8295]: https://github.com/rust-lang/rust-clippy/pull/8295 Version 1.58.0 (2022-01-13) ========================== Language -------- - [Format strings can now capture arguments simply by writing `{ident}` in the string.][90473] This works in all macros accepting format strings. Support for this in `panic!` (`panic!("{ident}")`) requires the 2021 edition; panic invocations in previous editions that appear to be trying to use this will result in a warning lint about not having the intended effect. - [`*const T` pointers can now be dereferenced in const contexts.][89551] - [The rules for when a generic struct implements `Unsize` have been relaxed.][90417] Compiler -------- - [Add LLVM CFI support to the Rust compiler][89652] - [Stabilize -Z strip as -C strip][90058]. Note that while release builds already don't add debug symbols for the code you compile, the compiled standard library that ships with Rust includes debug symbols, so you may want to use the `strip` option to remove these symbols to produce smaller release binaries. Note that this release only includes support in rustc, not directly in cargo. - [Add support for LLVM coverage mapping format versions 5 and 6][91207] - [Emit LLVM optimization remarks when enabled with `-Cremark`][90833] - [Update the minimum external LLVM to 12][90175] - [Add `x86_64-unknown-none` at Tier 3*][89062] - [Build musl dist artifacts with debuginfo enabled][90733]. When building release binaries using musl, you may want to use the newly stabilized strip option to remove these debug symbols, reducing the size of your binaries. - [Don't abort compilation after giving a lint error][87337] - [Error messages point at the source of trait bound obligations in more places][89580] \* Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support. Libraries --------- - [All remaining functions in the standard library have `#[must_use]` annotations where appropriate][89692], producing a warning when ignoring their return value. This helps catch mistakes such as expecting a function to mutate a value in place rather than return a new value. - [Paths are automatically canonicalized on Windows for operations that support it][89174] - [Re-enable debug checks for `copy` and `copy_nonoverlapping`][90041] - [Implement `RefUnwindSafe` for `Rc<T>`][87467] - [Make RSplit<T, P>: Clone not require T: Clone][90117] - [Implement `Termination` for `Result<Infallible, E>`][88601]. This allows writing `fn main() -> Result<Infallible, ErrorType>`, for a program whose successful exits never involve returning from `main` (for instance, a program that calls `exit`, or that uses `exec` to run another program). Stabilized APIs --------------- - [`Metadata::is_symlink`] - [`Path::is_symlink`] - [`{integer}::saturating_div`] - [`Option::unwrap_unchecked`] - [`Result::unwrap_unchecked`] - [`Result::unwrap_err_unchecked`] - [`NonZero{unsigned}::is_power_of_two`] - [`File::options`] These APIs are now usable in const contexts: - [`Duration::new`] - [`Duration::checked_add`] - [`Duration::saturating_add`] - [`Duration::checked_sub`] - [`Duration::saturating_sub`] - [`Duration::checked_mul`] - [`Duration::saturating_mul`] - [`Duration::checked_div`] - [`MaybeUninit::as_ptr`] - [`MaybeUninit::as_mut_ptr`] - [`MaybeUninit::assume_init`] - [`MaybeUninit::assume_init_ref`] Cargo ----- - [Add --message-format for install command][cargo/10107] - [Warn when alias shadows external subcommand][cargo/10082] Rustdoc ------- - [Show all Deref implementations recursively in rustdoc][90183] - [Use computed visibility in rustdoc][88447] Compatibility Notes ------------------- - [Try all stable method candidates first before trying unstable ones][90329]. This change ensures that adding new nightly-only methods to the Rust standard library will not break code invoking methods of the same name from traits outside the standard library. - Windows: [`std::process::Command` will no longer search the current directory for executables.][87704] - [All proc-macro backward-compatibility lints are now deny-by-default.][88041] - [proc_macro: Append .0 to unsuffixed float if it would otherwise become int token][90297] - [Refactor weak symbols in std::sys::unix][90846]. This optimizes accesses to glibc functions, by avoiding the use of dlopen. This does not increase the [minimum expected version of glibc](https://doc.rust-lang.org/nightly/rustc/platform-support.html). However, software distributions that use symbol versions to detect library dependencies, and which take weak symbols into account in that analysis, may detect rust binaries as requiring newer versions of glibc. - [rustdoc now rejects some unexpected semicolons in doctests][91026] Internal Changes ---------------- These changes provide no direct user facing benefits, but represent significant improvements to the internals and overall performance of rustc and related tools. - [Implement coherence checks for negative trait impls][90104] - [Add rustc lint, warning when iterating over hashmaps][89558] - [Optimize live point computation][90491] - [Enable verification for 1/32nd of queries loaded from disk][90361] - [Implement version of normalize_erasing_regions that allows for normalization failure][91255] [87337]: https://github.com/rust-lang/rust/pull/87337/ [87467]: https://github.com/rust-lang/rust/pull/87467/ [87704]: https://github.com/rust-lang/rust/pull/87704/ [88041]: https://github.com/rust-lang/rust/pull/88041/ [88300]: https://github.com/rust-lang/rust/pull/88300/ [88447]: https://github.com/rust-lang/rust/pull/88447/ [88601]: https://github.com/rust-lang/rust/pull/88601/ [88624]: https://github.com/rust-lang/rust/pull/88624/ [89062]: https://github.com/rust-lang/rust/pull/89062/ [89174]: https://github.com/rust-lang/rust/pull/89174/ [89542]: https://github.com/rust-lang/rust/pull/89542/ [89551]: https://github.com/rust-lang/rust/pull/89551/ [89558]: https://github.com/rust-lang/rust/pull/89558/ [89580]: https://github.com/rust-lang/rust/pull/89580/ [89652]: https://github.com/rust-lang/rust/pull/89652/ [89677]: https://github.com/rust-lang/rust/pull/89677/ [89951]: https://github.com/rust-lang/rust/pull/89951/ [90041]: https://github.com/rust-lang/rust/pull/90041/ [90058]: https://github.com/rust-lang/rust/pull/90058/ [90104]: https://github.com/rust-lang/rust/pull/90104/ [90117]: https://github.com/rust-lang/rust/pull/90117/ [90175]: https://github.com/rust-lang/rust/pull/90175/ [90183]: https://github.com/rust-lang/rust/pull/90183/ [90297]: https://github.com/rust-lang/rust/pull/90297/ [90329]: https://github.com/rust-lang/rust/pull/90329/ [90361]: https://github.com/rust-lang/rust/pull/90361/ [90417]: https://github.com/rust-lang/rust/pull/90417/ [90473]: https://github.com/rust-lang/rust/pull/90473/ [90491]: https://github.com/rust-lang/rust/pull/90491/ [90733]: https://github.com/rust-lang/rust/pull/90733/ [90833]: https://github.com/rust-lang/rust/pull/90833/ [90846]: https://github.com/rust-lang/rust/pull/90846/ [90896]: https://github.com/rust-lang/rust/pull/90896/ [91026]: https://github.com/rust-lang/rust/pull/91026/ [91207]: https://github.com/rust-lang/rust/pull/91207/ [91255]: https://github.com/rust-lang/rust/pull/91255/ [91301]: https://github.com/rust-lang/rust/pull/91301/ [cargo/10082]: https://github.com/rust-lang/cargo/pull/10082/ [cargo/10107]: https://github.com/rust-lang/cargo/pull/10107/ [`Metadata::is_symlink`]: https://doc.rust-lang.org/stable/std/fs/struct.Metadata.html#method.is_symlink [`Path::is_symlink`]: https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.is_symlink [`{integer}::saturating_div`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.saturating_div [`Option::unwrap_unchecked`]: https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.unwrap_unchecked [`Result::unwrap_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_unchecked [`Result::unwrap_err_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_err_unchecked [`NonZero{unsigned}::is_power_of_two`]: https://doc.rust-lang.org/stable/std/num/struct.NonZeroU8.html#method.is_power_of_two [`File::options`]: https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.options [`unix::process::ExitStatusExt::core_dumped`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.core_dumped [`unix::process::ExitStatusExt::stopped_signal`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.stopped_signal [`unix::process::ExitStatusExt::continued`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.continued [`unix::process::ExitStatusExt::into_raw`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.into_raw [`Duration::new`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.new [`Duration::checked_add`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_add [`Duration::saturating_add`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.saturating_add [`Duration::checked_sub`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_sub [`Duration::saturating_sub`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.saturating_sub [`Duration::checked_mul`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_mul [`Duration::saturating_mul`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.saturating_mul [`Duration::checked_div`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_div [`Duration::as_secs_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.as_secs_f64 [`Duration::as_secs_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.as_secs_f32 [`Duration::from_secs_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.from_secs_f64 [`Duration::from_secs_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.from_secs_f32 [`Duration::mul_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.mul_f64 [`Duration::mul_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.mul_f32 [`Duration::div_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_f64 [`Duration::div_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_f32 [`Duration::div_duration_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_duration_f64 [`Duration::div_duration_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_duration_f32 [`MaybeUninit::as_ptr`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.as_ptr [`MaybeUninit::as_mut_ptr`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.as_mut_ptr [`MaybeUninit::assume_init`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init [`MaybeUninit::assume_init_ref`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init_ref
2022-03-01openjdk11: Update to 1.11.0.14.9ryoon12-235/+8
* Some NetBSD-specific patches are merged by upstream. Changelog: Updated BSD port of JDK 11 Additional features include: Update to 11.0.14 GA More fixes for LLVM/Clang 13 OpenBSD fixes Improved NetBSD support
2022-02-28rust: Darwin/arm64 needs to use rust-llvm for now.jperkin1-2/+2
2022-02-26*: Bump packages that depend on devel/hs-fsnotifypho3-6/+6
2022-02-26lang/idris: Link idris with static Haskell librariespho5-281/+22
Also generate shell completion scripts with optparse-applicative.
2022-02-26Bump all Haskell packages after enabling "split sections" in mk/haskell.mkpho26-46/+52
2022-02-25python27: fix two security issuesgutteridge7-17/+234
Addresses CVE-2021-4189 and CVE-2022-0391. Patches sourced via Fedora.
2022-02-25duktape: update to 2.7.fcambus3-21/+6
========================= Duktape 2.7 release notes ========================= Release overview ================ Main changes in this release (see RELEASES.rst for full details): * Various fixes and portability improvements. Upgrading from Duktape 2.6 ========================== No action (other than recompiling) should be needed for most users to upgrade from Duktape v2.6.x.
2022-02-25libduktape: update to 2.7.fcambus3-8/+7
========================= Duktape 2.7 release notes ========================= Release overview ================ Main changes in this release (see RELEASES.rst for full details): * Various fixes and portability improvements. Upgrading from Duktape 2.6 ========================== No action (other than recompiling) should be needed for most users to upgrade from Duktape v2.6.x.
2022-02-25ghc92: Fix build on SunOS.jperkin2-1/+16
Ensure _POSIX_PTHREAD_SEMANTICS is defined, for some reason the global defines aren't being applied correctly to this file.
2022-02-24lang/ghc90: Use ${_PKGSRC_MKPIE} instead of ${_OPSYS_SUPPORTS_MKPIE}pho1-5/+9
It's the variable that indicates if MKPIE is requested and feasible on the platform. In fact I originally wrote a condition mentioning ${_PKGSRC_MKPIE}, but it somehow got lost while I was refactoring the code.
2022-02-24lang/ghc92: Use ${_PKGSRC_MKPIE} instead of ${_OPSYS_SUPPORTS_MKPIE}pho1-6/+10
It's the variable that indicates if MKPIE is requested and feasible on the platform. In fact I originally wrote a condition mentioning ${_PKGSRC_MKPIE}, but it somehow got lost while I was refactoring the code.
2022-02-24lang/Makefile: + spagopho1-1/+2
2022-02-24lang/spago: import spago-0.20.7pho5-0/+242
PureScript package manager and build tool powered by Dhall and package-sets.
2022-02-23lang/Makefile: + dhallpho1-1/+2
2022-02-23lang/dhall: import dhall-1.40.2pho6-0/+356
Dhall is an explicitly typed configuration language that is not Turing complete. Despite being Turing incomplete, Dhall is a real programming language with a type-checker and evaluator. Use this library to parse, type-check, evaluate, and pretty-print the Dhall configuration language. This package also includes an executable which type-checks a Dhall file and reduces the file to a fully evaluated normal form.
2022-02-23lang/Makefile: + purescriptpho1-1/+2
2022-02-23lang/purescript: import purescript-0.14.5pho12-0/+1143
A small strongly typed programming language with expressive types that compiles to JavaScript, written in and inspired by Haskell.
2022-02-23lang/Makefile: + hs-sourcemappho1-1/+2
2022-02-23lang/hs-sourcemap: import hs-sourcemap-0.1.7pho5-0/+68
Implementation of source maps, revision 3, proposed by Google (https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit) and Mozilla (https://wiki.mozilla.org/DevTools/Features/SourceMap).
2022-02-23lang/Makefile: + hs-purescript-cstpho1-1/+2