There are several issues with building 3.1.x versions of xfsprogs. Slackware current is using 3.1.1, Arch is using 3.1.2, and T2 is using 3.1.2, all without patches, so it should just build. I will check more into it and see what the issue is, may or may not have time this week to resolve it.