@Duncaen:
Oh! Sorry. I thought it worked because `./xbps-src build attract` did not throw any error. Now I can see it failing by running `./xbps-src pkg attract`. I exported `CPATH` as suggested but same problem. It is my first package. Any idea?
pullmoll commented on this pull request.
> homepage="http://attractmode.org/"
distfiles="https://github.com/mickelson/attract/archive/v${version}.tar.gz"
checksum=d350a078dec7d97498846adb56fb54210e2d4bab484a8c2cd558ce197194b07b
+patch_args="-p1"
Instead of using patch_args="-p1" you could remove the a/ and b/ from the patch itself.
Self created patches should not set patch_args, but use the default, which is -p0.
When modifying your branch and adding changes, you can use `git commit --amend` to avoid creating new commits. Then do a `git push -f` to overwrite the HEAD of your branch.
I took your template and modified the Makefile.patch to use Void's CC, CXX, CFLAGS and LDFLAGS. No need to set nopie=yes. Cross compiling works, and the musl libc works with a small patch.