aboutsummaryrefslogtreecommitdiff
path: root/lang/zig
Commit message (Collapse)AuthorAgeFilesLines
* lang/zig: update 0.14.0 -> 0.15.2Rodrigo Osorio2025-12-182-16/+12
| | | | | | | Changelog: https://ziglang.org/download/0.15.1/release-notes.html PR: 289011 Approved by: Pero Oršolić <bsd@orsolic.org> (maintainer)
* lang/zig: Update to 0.14.0Fernando Apesteguía2025-05-212-5/+5
| | | | | | | | Patches provided by the respective maintainers. PR: 286105 Reported by: Pat Maddox <pat@patmaddox.com> Approved by: bsd@orsolic.org (maintainer)
* lang/zig: update to 0.13.0Matthias Fechner2024-10-034-15211/+21
| | | | | | | | | - include static compile fix by asmodai@ (see PR 279604) - automatically generate the PLIST PR: 279604 Reported by: asmodai@ Approved by: bsd@orsolic.org (maintainer)
* lang/zig-devel: remove port after 28238a95a3f5Jan Beich2024-06-131-1/+1
| | | | | PR: 279702 Approved by: bsd@orsolic.org (maintainer)
* lang/zig: update to 0.12.1Jan Beich2024-06-102-4/+4
| | | | | | | | Force rebuild consumers due to changes in codegen and std library. Changes: https://github.com/ziglang/zig/compare/0.12.0...0.12.1 PR: 279608 Approved by: bsd@orsolic.org (maintainer)
* lang/zig: update to 0.12.0Pero Oršolić2024-05-203-1668/+3777
| | | | | | Changes: https://ziglang.org/download/0.12.0/release-notes.html PR: 278570 Differential Revision: https://reviews.freebsd.org/D45024
* lang/zig: adjust CONFLICTS after 98d70399e765Pero Oršolić2024-05-201-1/+1
| | | | Differential Revision: https://reviews.freebsd.org/D45024
* lang/zig: drop unused dependency on archivers/lzmaPero Oršolić2024-05-201-2/+1
| | | | | | | Warning: you might not need LIB_DEPENDS on liblzma.so actual-package-depends: dependency on /usr/lib/liblzma.so not registered (normal if it belongs to base) Differential Revision: https://reviews.freebsd.org/D45024
* lang/zig: pacify check-plist after 8c1e3e605452Pero Oršolić2024-05-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | 4b6d52cef587 claimed to fix but didn't: ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/bin/zig Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/build_runner.zig Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/c.zig Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt.zig Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt/aarch64_outline_atomics.zig Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt/absv.zig Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt/absvdi2.zig [...] Error: Orphaned: @dir lib/zig/std/compress/lzma/testdata Error: Orphaned: @dir lib/zig/std/compress/xz/testdata [...] PR: 278570 Differential Revision: https://reviews.freebsd.org/D45024
* lang/zig-devel: NEW PORT - latest version of zig languageDave Cottlehuber2024-02-141-1/+4
| | | | | | | | | | | | | | Adds latest development version of zig-lang - upcoming 0.12. - based off https://reviews.freebsd.org/D41067 - with further changes from lang/zig which has evolved - update MAINTAINER per email approval for lang/zig* Test Plan: Tested on 14.0-RELEASE and 15.0-CURRENT. Differential Revision: https://reviews.freebsd.org/D43416 Differential Revision: https://reviews.freebsd.org/D41067 Obtained from: Pero Orsolic <bsd@orsolic.org>
* lang/zig: pet port after 0.11.0 updateDave Cottlehuber2024-01-043-760/+763
| | | | | | | | | - fix optional DOCS build for PR270007 - fix pkg-plist sorting - clean up work dirs to help docs build - remove stale cmake flags PR: 270007
* lang/zig: unbreak fetch due distfile refresh after 8c1e3e605452Jan Beich2024-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | fetch: https://ziglang.org/download/0.11.0/zig-0.11.0.tar.xz: size mismatch: expected 65092512, actual 15275316 $ tar tvf zig-0.11.0.tar.xz [...] -drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/ +drwxr-xr-x 0 ci ci 0 14 Aug 21:57 zig-0.11.0/ [...] -drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/zig-cache/ -drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/zig-cache/h/ --rw-r--r-- 0 ci ci 1637 3 Aug 19:21 zig-0.11.0/zig-cache/h/00889a5c28974786c8a0c50f32a3b330.txt --rw-r--r-- 0 ci ci 1643 3 Aug 19:21 zig-0.11.0/zig-cache/h/0191ddcdc8f7323e7ca29bde7a0ce808.txt --rw-r--r-- 0 ci ci 1649 3 Aug 19:21 zig-0.11.0/zig-cache/h/02293e34764cd700f7fa1bad9f99905d.txt --rw-r--r-- 0 ci ci 1486 3 Aug 19:21 zig-0.11.0/zig-cache/h/037b3303e65027dcd4d04821163b69fb.txt --rw-r--r-- 0 ci ci 1335 3 Aug 19:21 zig-0.11.0/zig-cache/h/0477d12ba45a9f7192f1c7e081ea54c6.txt [...] PR: 273124 (expect pkg-fallout@ spam) Reported by: olgeni (via private mail) See also: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/54824
* lang/zig: update to 0.11.0Nathan Fisher2024-01-014-1917/+1151
| | | | | | Changes: https://ziglang.org/download/0.11.0/release-notes.html PR: 273124 Approved by: dch (maintainer)
* lang/zig: fork 0.10 into a pinned portJan Beich2024-01-011-0/+2
| | | | | | | Some consumers are ready for 0.11 syntax but many are not. PR: 273124 Approved by: dch (maintainer)
* devel/icu: update to 74.1Jan Beich2023-11-171-1/+1
| | | | | | | | Changes: https://github.com/unicode-org/icu/releases/tag/release-74-1 Reported by: GitHub (watch releases) PR: 274317 Exp-run by: antoine (incomplete) Approved by: fluffy
* devel/icu: update to 73.1Jan Beich2023-04-131-1/+1
| | | | | | | | | - Temporarily switch to GitHub auto archive (release artifacts are N/A atm) Changes: https://github.com/unicode-org/icu/releases/tag/release-73-1 Reported by: GitHub (watch releases) PR: 270422 Exp-run by: antoine
* lang/zig: build for lowest common denominator CPUDave Cottlehuber2023-02-042-1/+12
| | | | | | | | | | | Systems that don't have AVX2 or newer CPU instructions will SIGILL. This seems particularly cruel for a language with the moniker "Gotta Go Fast". PR: 269206 Differential Revision: https://reviews.freebsd.org/D38284 Reported by: Yonas Yanfa Tested by: Oleh Vinichenko
* lang/zig: update to 0.10.1 & upstreamed aarch64 FreeBSD patchesDave Cottlehuber2023-01-233-17/+12
|
* lang/zig: unbreak Sigaction.handler_fn on aarch64Jan Beich2023-01-182-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | $ cat test.zig const std = @import("std"); const os = std.os; pub fn main() anyerror!void { // From https://github.com/riverwm/river/blob/v0.2.2/river/main.zig#L97-L104 const sig_ign = os.Sigaction{ .handler = .{ .handler = os.SIG.IGN }, .mask = os.empty_sigset, .flags = 0, }; try os.sigaction(os.SIG.PIPE, &sig_ign, null); } $ zig build-exe -target aarch64-freebsd test.zig /usr/local/lib/zig/std/c/freebsd.zig:702:54: error: pointer type '?*const fn(c_int) callconv(.C) void' requires aligned address pub const IGN = @intToPtr(?Sigaction.handler_fn, 1); ^ referenced by: main: test.zig:7:40 comptime_0: /usr/local/lib/zig/std/start.zig:59:50 remaining reference traces hidden; use '-freference-trace' to see all reference traces Reported by: pkg-fallout (x11-wm/river) Inspired by: Alpine Linux
* lang/zig: update to 0.10.0 releaseDave Cottlehuber2023-01-113-606/+1206
|
* devel/icu: update to 72.1Jan Beich2022-10-191-1/+1
| | | | | | | Changes: https://github.com/unicode-org/icu/releases/tag/release-72-1 Reported by: GitHub (watch releases) PR: 266582 Exp-run by: antoine
* lang/zig, lang/zig-devel: fix for CMake 3.24Adriaan de Groot2022-09-171-1/+3
| | | | | | | | | | | | | | | | | | Add the THREADS_PREFER_PTHREAD_FLAG explicitly for zig builds; these are the only two ports that need that, otherwise it would be a candidate for adding to our platform CMake flags. Without the flag, CMake 3.24 changes how pthreads are searched, and it ends up leaving out the -pthread flag from the compile. For zig, this causes the bootstrap compiler to crash immediately (it does not even reach main), which kills the build. Prior to CMake 3.24, this flag already existed, but the order in which pthreads were searched was different, and we ended up using the -pthread flag anyway. The PR is for the CMake update. This was the last blocker for it. PR: 265652
* lang/zig: fix linker missing symbols ucnv_open ucnv_closeDave Cottlehuber2022-09-111-2/+3
| | | | | | PR: 265967 Reported by: Sponsored by: SkunkWerks, GmbH
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* lang/zig: update to 0.9.1Dave Cottlehuber2022-05-173-48/+60
| | | | | | | | | Switch to pre-built docs, as this more than halves the build time and also enables BUILD_AS_NON_ROOT with poudriere. PR: 261396 Reported by: kib Sponsored by: SkunkWerks, GmbH
* lang/zig: update to 0.9.0Dave Cottlehuber2022-01-043-944/+1576
| | | | | Reviewed by: jbeich Sponsored by: SkunkWerks, GmbH
* cleanup: drop support for EOL FreeBSD 11.XRene Ladan2021-09-301-1/+0
| | | | | | | | | | | | | | | | | Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index
* lang/zig: update to 0.8.1Dave Cottlehuber2021-09-094-575/+586
| | | | | | | | | bugfix only release - https://ziglang.org/download/0.8.1/release-notes.html Reviewed by: jbeich Differential Revision: https://reviews.freebsd.org/D31880
* lang/zig: update to 0.8.0 and add docsDave Cottlehuber2021-06-227-267/+3978
| | | | | | | Reviewed by: jbeich Reviewed by: Daniel Engberg <daniel.engberg.lists@pyret.net> Differential Revision: https://reviews.freebsd.org/D30742 Sponsored by: SkunkWerks, GmbH
* lang/zig: fix plistAdriaan de Groot2021-04-132-2/+4
| | | | | | | | | Testport complains of orphans, so add these two @dir entries; the directories are empty and I don't actually see where they are created. Bumping PORTREVISION because the package changes (directories). While here, sort pkg-plist a little.
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* lang/zig: backport syslog functions from masterDave Cottlehuber2021-03-294-0/+73
| | | | | | | | | These will eventually land in zig 0.8.0 Sponsored by: SkunkWerks, GmbH Notes: svn path=/head/; revision=569453
* lang/zig: update to 0.7.1Dave Cottlehuber2020-12-153-9/+19
| | | | | | | | | Submitted by: dch Reviewed by: jbeich Differential Revision: https://reviews.freebsd.org/D27614 Notes: svn path=/head/; revision=558178
* lang/zig: revert 558076 due to breakage via ports-committer@Dave Cottlehuber2020-12-153-13/+119
| | | | | | | Reported by: jbeich Notes: svn path=/head/; revision=558116
* lang/zig: update to 0.7.1 and take ownershipDave Cottlehuber2020-12-143-119/+13
| | | | | | | Sponsored by: SkunkWerks, GmbH Notes: svn path=/head/; revision=558076
* lang/zig: Update to 0.7.0Jan Beich2020-11-093-164/+387
| | | | | | | Changes: https://ziglang.org/download/0.7.0/release-notes.html Notes: svn path=/head/; revision=554679
* Reset MAINTAINERTobias Kortkamp2020-09-281-1/+1
| | | | Notes: svn path=/head/; revision=550400
* lang/zig: Update to 0.6.0Tobias Kortkamp2020-04-153-210/+530
| | | | | | | Changes: https://ziglang.org/download/0.6.0/release-notes.html Notes: svn path=/head/; revision=531740
* lang/zig: Update to 0.5.0Tobias Kortkamp2019-10-014-412/+2563
| | | | | | | Changes: https://ziglang.org/download/0.5.0/release-notes.html Notes: svn path=/head/; revision=513455
* lang/zig: Drop unnecessary BINARY_ALIASTobias Kortkamp2019-09-221-1/+0
| | | | Notes: svn path=/head/; revision=512583
* New port: lang/zigTobias Kortkamp2019-09-215-0/+6164
Zig is a general purpose programming language designed for robustness, optimality, and maintainability. WWW: https://ziglang.org/ Notes: svn path=/head/; revision=512489