kumquat-buildroot/package/x11r7/xdriver_xf86-video-r128/0002-include-stdint-h.patch
Bernd Kuhls 63cb49fd90 package/x11r7/xdriver_xf86-video-r128: add upstream patch to fix X.org server 1.20.0 build
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-28 23:09:07 +02:00

35 lines
979 B
Diff

From c4c878d2ccb75fa75afe46e0e50ee9975c5c57fc Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Mon, 25 Jun 2018 15:57:02 +0200
Subject: Include <stdint.h> in order to declare uint32_t
Apparently this is needed in src/atipcirename.h since xorg-server
1.20 in order to still build this driver.
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Downloaded from upstream commit
https://cgit.freedesktop.org/xorg/driver/xf86-video-r128/commit/?id=c4c878d2ccb75fa75afe46e0e50ee9975c5c57fc
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
src/atipcirename.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/atipcirename.h b/src/atipcirename.h
index e65ae3c..3e7f686 100644
--- a/src/atipcirename.h
+++ b/src/atipcirename.h
@@ -34,6 +34,7 @@ enum region_type {
REGION_IO
};
+#include <stdint.h>
#include "xf86Module.h"
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 12
--
cgit v1.1