nv_bios.c:26:22: error: byteswap.h: No such file or directory bswap and friends are defined in endian.h (on freebsd) which is pulled in by X11/Xarch.h. This should fix the build on netbsd too.
Created attachment 14884 [details] [review] Fix
Applied, thanks. Note that you still need fixes for the drm.
The patch is hackish at best. What should be done is copy the bits from the X server to properly detect the macros to use as was done with the Radeon driver recently.. http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commitdiff_plain;h=52459745ec05de88adbc087e9566fe6d97ef424b;hp=67a6ac0001bc9d062aa426384a11a41fa7a1c09a http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commitdiff_plain;h=32e1d1daf4f68ea37624afaa2bc1ea7742e1163b;hp=dca522355a9039eca6efaba3b36397b246800f94 This will ensure proper portability and fix Nouveau on OpenBSD, DragonFlyBSD, Solaris and other OS's at least with regard to the endian swapping macros.
Reopened. Take note of the previous comment.
(In reply to comment #4) > Reopened. Take note of the previous comment. > Sure, please feel free to send patches.
The DDX no longer depends on byteswap.h, nv_bios.c doesn't even exist anymore, closing...
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.