[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'



tags 677260 + patch
thanks

Hi,

I believe the attached patch to be an appropriate fix.  I think userland
should consider stdint.h a prerequisite of using via_drm.h;  and I'm
also assuming that all supported platforms will have it.  The intel
driver makes that assumption already.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
Description: include stdint.h, a prerequisite of via_drm.h on BSD
 Must include stdint.h here because it is a prerequisite of drm.h
 (which gets included from via_drm.h).
 .
 Fixes a FTBFS seen on GNU/kFreeBSD.
Author: Steven Chamberlain <steven@pyro.eu.org>
Bug-Debian: http://bugs.debian.org/677260

--- xserver-xorg-video-openchrome-0.2.906.orig/src/via_xvmc.h	2012-05-15 21:57:45.000000000 +0100
+++ xserver-xorg-video-openchrome-0.2.906/src/via_xvmc.h	2012-06-13 00:22:43.729188653 +0100
@@ -26,6 +26,8 @@
 #ifndef _VIA_XVMC_H
 #define _VIA_XVMC_H 1
 
+#include <stdint.h>
+
 #include "via_drm.h"
 
 /*

Reply to: