Commit graph

10 commits

Author SHA1 Message Date
LDA
b0cf0961a3 [FIX] Make codebase *slightly* NetBSD-friendly
I need to make it so that NetBSD targets get their own
correctness/build checks in CI. I also had to do some hacks with
Cytoplasm, will make a PR for those soon.
2024-10-22 10:21:54 +02:00
LDA
ff5f085b7f [FIX/MOD] Stanza send function, fix some errors
Negociating stanza sizes seems to be real trouble. Also this code is now
`-fanalyzer'-safe!
Also kills the last GNUMakefile present. It wasn't even used...
2024-10-19 16:58:48 +02:00
Xavier Del Campo Romero
2074d8e768
[FIX] configure.c: Do not assume git
If parsee were downloaded from sources other than git-clone(1) (e.g.: a
tarball), perror(3) fails and/or git(1) is not available on the system,
"git remote get-url origin" would have unexpected results or even return
a NULL pointer, which would cause undefined behaviour on
strchr(repo, ...);

In such conditions, a placeholder string, namely "N/A", is strdup(3)ed
to `repo`.
2024-10-17 07:37:01 +02:00
Xavier Del Campo Romero
e0f76e7929
[FIX] configure.c: Add missing -I $(CYTO_INC)
Some tools depend on header files defined by Cytoplasm.
2024-10-17 07:00:59 +02:00
Xavier Del Campo Romero
a66021bf46
[FIX] configure.c: Improve recursion rule
So far, collect_sources was called recursively when the entry name did
not match a pre-defined list. However, this assumption broke with files
such as `etc/media/README`, that were not in the list.

Therefore, a deterministic way to distinguish files from directories is
to rely on the S_ISDIR macro. This avoids the need for a pre-defined
list.
2024-10-17 06:45:42 +02:00
Xavier Del Campo Romero
ecbc211003
[FIX] configure.c: Fix '.' and '..' detection
Otherwise, hidden files such as '.file.<ext>' would be ignored.
2024-10-17 06:44:18 +02:00
LDA
4a2160503b [CI] Try to Mbed things out 2024-09-15 12:07:30 +02:00
LDA
75bbe69633 [CI/FIX] Use limits.h 2024-09-12 22:58:13 +02:00
LDA
92d33fa641 [MOD/CI/BUILD] Static builds, via the native tools 2024-09-12 22:17:35 +02:00
LDA
9352bf9bba [META] Death to GNUMakefile and build.c
Soon bound to add a -s flag for static build.
2024-09-12 20:02:40 +02:00