The include file byteswap.h added in a recent commit does not exist on FreeBSD. There is a short discussion on IRC that this not a portable extension.
Created attachment 17099 [details] [review] FreeBSD ports build fix. Nouveau driver bug 14858 has a similar fix.
Should be fixed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.