[PATCH] nouveau: fix 32bit builds

2014-09-28 Thread Emil Velikov
On 32bit platforms we have to provide _FILE_OFFSET_BITS via config.h otherwise the static assert in drm_munmap will trigger. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84428 Signed-off-by: Emil Velikov --- nouveau/private.h | 4 1 file changed, 4 insertions(+) diff --git a/nouv

[PATCH] nouveau: fix 32bit builds

2014-09-28 Thread Rob Clark
no, config.h needs to be in the .c files.. plus a lot more than just nouveau.. I've pushed a patch which fixes it for everyone but (potentially) intel, since I can't build libdrm_intel on 32b arm ;-) Someone please test 32b intel build before I push another release BR, -R On Sun, Sep 28, 2014 a