svgalib-git
Continuance fork by akosela (github.com/akosela/svgalib), git-versioned
(pkgver via git describe).
Patches (all in prepare(), patch -Np1)
0001-fix-parallel-build-race.patch– top-levelMakefile’stextutilstarget didn’t depend onsharedlib/libvga.so.$(VERSION), so a parallel (-j) build could race utils compilation against the shared lib build and fail intermittently.0002-remove-ldconfig-call-top-makefile.patch/0003-remove-ldconfig-call-src-makefile.patch– upstream’sinstall/installsharedlibtargets call-ldconfigdirectly, which is pointless (and can warn/fail) undermakepkg’s unprivilegedpackage()– not root, and pacman’s own hooks handle ldconfig on install anyway. Stripped from bothMakefileandsrc/Makefile.
Gotcha hit 2026-08-16
A prior session added these three patches to the PKGBUILD’s source=()
but committed only the PKGBUILD change, not the patch files
themselves (commit 8f8e679) – package was uninstallable/unbuildable
as committed. A later commit (0d33ad1, “forgot to add patches”) fixed
it upstream, but this checkout was still pinned to the broken commit
until a plain git fetch + fast-forward merge picked up the fix. If
this package ever fails to build with “no such file” on a .patch in
prepare(), check git log/git fetch in the submodule before
re-deriving the patch from scratch – it may already be fixed upstream,
just not pulled locally.
Builds clean for both i686 and x86_64 otherwise (main + -debug
packages), just the usual namcap noise (unused libm.so.6 link,
implicit bash/glibc deps) – not real issues.