406 Commits

Author SHA1 Message Date
Itai Ferber
65eea909ca dev-lang/swift: resolve conflicting patches
While working on updates to resolve GCC 16 build issues, I backported an
upstream patch for removing a reference to `<linux/scc.h>` (80fbc4c2a);
simultaneously, a similar patch was added (731832ced) that introduced
the same fix. The conflict wasn't caught during the rebase.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 20:01:08 -04:00
Itai Ferber
8e97e504e6 dev-lang/swift-bin: add 6.3.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 07:40:51 -04:00
Itai Ferber
8ca0f2e55a dev-lang/swift-bin: update LLVM_COMPAT
Updates Swift 6 compatibility with LLVM 22 (matching `dev-lang/swift` in
0591ece77).

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 07:34:29 -04:00
Itai Ferber
a1e27592a6 dev-lang/swift: add 6.3.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 06:28:31 -04:00
Itai Ferber
0591ece77d dev-lang/swift: update LLVM_COMPAT
Updates LLVM_COMPAT to allow building Swift 6 with LLVM/Clang 22, and
reintroduces a `libcxx` USE flag to allow dropping a hard dependency on
GCC <16 on systems that don't want to use it.

Swift 5.10 does not build with Clang 22.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 06:28:31 -04:00
Itai Ferber
80fbc4c2ac dev-lang/swift: backport patch for linux/scc.h
Backports an upstream patch for building LLVM sanitizers on systems
where `<linux/scc.h>` is no longer present.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 06:28:31 -04:00
Itai Ferber
0caf226210 dev-lang/swift: fix builds with GCC 16 present
Swift defaults to building against GCC's libstdc++ runtime, but GCC 16's
headers can only be parsed by Clang 22 and later. Swift's LLVM will pick
up on the newest headers available on disk, which means that even if GCC
16 is simply installed on the build machine, Swift will fail to build.
Depending on GCC <16 and explicitly setting `--gcc-install-dir` allows
the right headers to be picked up.

Closes: https://bugs.gentoo.org/974722
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 06:28:31 -04:00
Itai Ferber
688135195e dev-lang/swift: improve support for CXXFLAGS
The custom Swift build system doesn't correctly pass
CFLAGS/CXXFLAGS/LDFLAGS to invocations of CMake, nor does the Swift
compiler pick up on those env vars automatically to pass to Clang. The
build system needs to be patched to pass these flags around explicitly,
and a few sites were missed during original patching.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-07-02 06:28:24 -04:00
Katalin Rebhan
731832ced0 dev-lang/swift: remove #include <linux/scc.h>
This header was removed recently (looks like with Linux 7.1).
Remove the usage for it in libsanitizer so that it builds again.

See https://github.com/llvm/llvm-project/issues/194110.

Signed-off-by: Katalin Rebhan <me@dblsaiko.net>
2026-07-01 02:57:40 +02:00
Florian Albrechtskirchinger
2c5bee1fce */*: fix a few BadDescriptions
Just the ones appearing in pkgdev push -A.

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
2026-06-26 09:16:56 +02:00
Itai Ferber
c0b49f36b8 dev-lang/odin: strip only unsupported flags
Odin explicitly builds using `clang++` regardless of toolchain. Older
Odin ebuilds explicitly cleared `CPPFLAGS` and `CXXFLAGS` with the
comment "build_odin.sh sets its own flags. Some gcc flags cause build
failures"; this stripping was later migrated to `strip-flags`.

Full stripping isn't necessary, though: the Odin build script _appends_
its own flags instead of replacing them, and GCC-specific flags can be
stripped using `strip-unsupported-flags` instead.

Closes: https://bugs.gentoo.org/974732
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-23 11:21:05 -04:00
Itai Ferber
3af1a99302 dev-lang/odin: add 2026.06
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-23 11:13:51 -04:00
Robert Greener
e48b4e789f dev-lang/bun-bin: new package, add 1.3.14
Signed-off-by: Robert Greener <me@r0bert.dev>
2026-06-18 08:49:07 +01:00
Haelwenn (lanodan) Monnier
fec67bd9c5 dev-lang/quickjs: fix LIBDIR substitution with pkgconfig path
Closes: https://bugs.gentoo.org/961753
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-06-14 03:08:31 +02:00
David Roman
c2a03dbeca dev-lang/wabt: enable py3.14
Closes: https://github.com/gentoo/guru/pull/488
Signed-off-by: David Roman <stkw0@disroot.org>
2026-06-12 20:02:56 +02:00
Itai Ferber
3af0aa6d14 dev-lang/swift: fix ebuild local var name
d201619d3 introduced a check for a Swift compiler to use for
bootstrapping Swift 6, but typo'd the variable name used in one case.
This only affected in-place upgrades with no other Swift version
installed, so wasn't caught in testing.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-09 18:27:43 -04:00
Itai Ferber
e04b0cf93b dev-lang/swift-bin: die on installation failure
Hardens the src_install phase by validating that the expected image
exists in the downloaded package, and dies if copying those files to
"$ED" fails.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-09 15:59:12 -04:00
Itai Ferber
3fa00fae2e dev-lang/swift-bin: fix swift-bin-6.3* distfiles
The `swift-bin-6.3*-r1` gpkgs were incorrectly manually packaged using
the wrong top-level dirname (`swift-6.3*` instead of `swift-6.3*-r1`),
causing the distfile to download and install successfully, but leaving
an empty tree. The distfiles have been fixed.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-09 15:59:12 -04:00
David Roman
7beb3db34b dev-lang/uiua: drop 0.16.2, 0.17.2
Signed-off-by: David Roman <stkw0@disroot.org>
2026-06-09 14:37:36 +02:00
David Roman
bacbffa23b dev-lang/uiua: update RUST_MIN_VER to 1.88.0
Closes: https://bugs.gentoo.org/974735
Signed-off-by: David Roman <stkw0@disroot.org>
2026-06-09 14:37:36 +02:00
Anna (cybertailor) Vyalkova
47f0027d60 dev-lang/crystal-bin: add 1.20.2, drop 1.18.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2026-06-08 22:21:22 +05:00
Haelwenn (lanodan) Monnier
9eb45151c5 dev-lang/quickjs: add 2026.06.04
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-06-08 02:27:49 +02:00
Haelwenn (lanodan) Monnier
744839cbd1 dev-lang/quickjs/files: remove obsolete patch files
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-06-08 02:27:49 +02:00
Itai Ferber
f3f29c2762 dev-lang/swift-bin: add 5.10.1-r6, drop 5.10.1-r5
Swift 5.10 dynamically links against ICU using versioned libs (e.g.,
libicuuc.so.<vers> instead of libicuuc.so); this leads to unresolved
SONAME dependencies on systems with differing ICU versions. The built
binaries have been updated to link against unversioned dynamic libs
instead.

Closes: https://bugs.gentoo.org/974734
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-06 09:10:09 -04:00
Itai Ferber
f8324fb859 dev-lang/swift: update python_gen_cond_dep
When `PYTHON_COMPAT` was updated to support `python3_14`,
`python_gen_cond_dep` wasn't also updated; since we're not trying to
filter Python versions beyond `PYTHON_COMPAT`, we don't actually need to
pass anything in.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-06 09:10:09 -04:00
Itai Ferber
d201619d3d dev-lang/swift: allow building using swift-bin
swift-6* ebuilds checked for the latest installed version of
`dev-lang/swift` to build against, but we want to enable bootstrapping
from `dev-lang/swift-bin`. Instead of checking for the latest Swift
using `best_version`, we can check `eselect swift` directly.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-06 09:10:08 -04:00
Itai Ferber
af8b48ff36 dev-lang/swift-bootstrap: add 1.1
Introduces the `binary` USE flag (on by default) which allows
bootstrapping from `dev-lang/swift-bin` instead of building from source
using `dev-lang/swift`.

Swift 5.10 is becoming increassingly less desirable as a standalone
Swift version, and more difficult to build over time with newer
toolchain versions. For bootstrapping specifically, using a pre-built
binary is likely an acceptable default.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-06 09:10:08 -04:00
Itai Ferber
b5a17509ba dev-lang/swift-bin: fix swift-bin-6.3* SLOTs
swift-bin-6.3* ebuilds were accidentally introduced with a SLOT of "6/2"
when they should have been using "6/3".

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-05 12:00:43 -04:00
Itai Ferber
26544ccd72 dev-lang/swift-bin: add 6.3.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-05 11:30:05 -04:00
Itai Ferber
dca0c52be3 dev-lang/swift: add 6.3.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-06-04 21:09:01 -04:00
Haelwenn (lanodan) Monnier
ac92f77f0c dev-lang/quickjs: drop 2024.01.13-r1 (security)
Fixes the following CVEs: CVE-2025-46688 CVE-2025-62490 CVE-2025-62491
CVE-2025-62492 CVE-2025-62493 CVE-2025-62494 CVE-2025-62495 CVE-2025-62496

CVE List found via https://repology.org/project/quickjs/cves?version=2024.01.13

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-05-05 23:17:05 +02:00
Haelwenn (lanodan) Monnier
8af9189135 dev-lang/hare: add 0.26.0.1, drop 0.25.2, drop 0.26.0 (security)
Fixes CVE-2026-43923

Announcement at https://lists.sr.ht/~sircmpwn/hare-announce/%3CDIAKVMZYSWM2.319DZSFVJ2LK4@ddevault.org%3E

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-05-05 22:36:05 +02:00
Itai Ferber
2196ec8fee dev-lang/odin: add 2026.05
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-05-04 07:12:54 -04:00
Itai Ferber
a30c9db6ef dev-lang/swift-bin: add 6.3.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-24 12:06:22 -04:00
Itai Ferber
2de6608e81 dev-lang/swift: ignore rm failure in postrm
The postrm() phase attempts to remove symlinks to installed Swift
versions; the `rm` invocation was missing `|| die` or `-f` to clearly
indicate what should happen on failure. (In this case, it's okay to
ignore the error and move on.)

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-22 10:12:06 -04:00
Itai Ferber
16be0d677e dev-lang/swift: add 6.3.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-19 21:49:36 -04:00
Itai Ferber
712f2b61ba dev-lang/swift: fix building when dev-libs/libdispatch is present
Swift currently fails to build if `dev-libs/libdispatch` is installed
because it globally installs private `libdispatch` headers which get
unexpectedly picked up during the Swift build. Since the headers are not
expected to be present when building Swift on non-Darwin platforms, the
check for the header can be patched out.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-19 21:49:36 -04:00
Itai Ferber
4f760635c2 dev-lang/swift: fix swift-6.3 SLOT
swift-6.3 was accidentally introduced with a SLOT of "6/2" when it
should be "6/3"

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-19 21:49:32 -04:00
Anna (cybertailor) Vyalkova
252fddceb3 dev-lang/crystal-bin: add 1.20.0, drop 1.16.3
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2026-04-19 14:05:10 +05:00
Haelwenn (lanodan) Monnier
4cb9936f6b dev-lang/wabt: drop myself as a maintainer
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-04-12 00:10:41 +02:00
Itai Ferber
5e9e8b7f66 dev-lang/odin: add 2026.04
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-04 00:27:06 -04:00
Haelwenn (lanodan) Monnier
35bf989bbc dev-lang/hare: add sys-libs/timezone-data in RDEPEND
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-03-29 14:14:53 +02:00
Itai Ferber
bc901cd86c dev-lang/swift: drop 6.2, 6.2.1, 6.2.2, 6.2.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-03-28 12:59:06 -04:00
Itai Ferber
a8abdbc481 dev-lang/swift-bin: update to llvm-r2.eclass
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-03-28 11:25:32 -04:00
Itai Ferber
938edc8a22 dev-lang/swift-bin: add 6.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-03-28 11:24:10 -04:00
Itai Ferber
2e89030e6b dev-lang/swift: add 6.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-03-28 11:24:10 -04:00
Haelwenn (lanodan) Monnier
69fa3cb262 dev-lang/hare: tc-export CC AR AS LD
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-03-28 06:13:00 +01:00
Haelwenn (lanodan) Monnier
61f09a7f9d dev-lang/harec: Fix missing .* in ARCH regex
revbump needed as harec can build fine and then retain a wrong value internally.

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-03-28 05:59:39 +01:00
Haelwenn (lanodan) Monnier
8cbe349522 dev-lang/harec: sync live ebuild
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-03-28 05:37:57 +01:00
Haelwenn (lanodan) Monnier
46c52f4970 dev-lang/harec: respect CFLAGS, LDFLAGS, and LDLINKFLAGS
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2026-03-28 05:19:51 +01:00