Upstream, include/mango/manage/misc.h includes sys/types.h. On glibc,
sys/types.h includes bits/stdint-intn.h, which defines int32_t. This
does not happen on musl.
This commit adds a patch that explicitly includes stdint.h on musl
systems, which defines int32_t.
Closes: https://bugs.gentoo.org/982624
Signed-off-by: Dustin Smith <d.usty360@gmail.com>
Per 981770, musl systems require libbsd to build qman. This commit
conditionally adds it as a dependency and configures meson accordingly.
This also backports a patch to 1.5.0 that fixed remaining musl issues
(more context on that can be found in the .patch file). -9999 doesn't
need this patch since EGIT_BRANCH="devel", where the patch already
exists.
(I originally assumed this was arm64-exclusive given the linked bug, but
it seems to apply to any system running musl libc regardless of
architecture, or at least on amd64 too.)
Closes: https://bugs.gentoo.org/981770
Signed-off-by: Dustin Smith <d.usty360@gmail.com>
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org>
This commit replicates the CI/CD behavior we currently have on GitHub
by making the following changes:
- Jobs that used Actions were replaced with in-repo scripts. This
removes the dependency on GitHub and makes the overall pipeline more
forge-agnostic.
- rectalogic/notify-irc replaced with ./scripts/irc_notify.py
- pkgcore/pkgcheck-action replaced with ./scripts/pkgcheck.sh
- Actions that used `gh` (the GitHub CLI) were replaced with in-repo
scripts that perform the same action but with the Forgejo API.
- ./scripts/last_status.py to get the last status of a completed job
(e.g. succeeded, failed, canceled)
- ./scripts/last_successful_commit.py to get the last commit that had
a successful job
- Forgejo-specific changes
- Variables renamed from "github" to "forgejo" where appropriate
(though Forgejo lets you get away with keeping them as "github" to
make migration easier)
- Use ./.forgejo/ instead of ./.github/ -- this will simultaneously
keep the GitHub actions intact while also disabling the GitHub
actions from running in Forgejo
- Codeberg-specific changes
- Use codeberg-tiny-lazy shared runner for {duplicates,emails}.yml
- Use codeberg-medium-lazy shared runner for pkgcheck.yml
Signed-off-by: Dustin Smith <d.usty360@gmail.com>
Part-of: https://codeberg.org/gentoo/guru/pulls/30
Merges: https://codeberg.org/gentoo/guru/pulls/30
Signed-off-by: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>