[Buildroot] [git commit] package/x11r7/xdriver_xf86-video-r128: add upstream patch to fix X.org server 1.20.0 build

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jul 28 21:09:07 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=63cb49fd90d6e69ca6171182b12728f1517f8f3f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 .../0002-include-stdint-h.patch                    | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/package/x11r7/xdriver_xf86-video-r128/0002-include-stdint-h.patch b/package/x11r7/xdriver_xf86-video-r128/0002-include-stdint-h.patch
new file mode 100644
index 0000000000..4c15915b26
--- /dev/null
+++ b/package/x11r7/xdriver_xf86-video-r128/0002-include-stdint-h.patch
@@ -0,0 +1,34 @@
+From c4c878d2ccb75fa75afe46e0e50ee9975c5c57fc Mon Sep 17 00:00:00 2001
+From: Stefan Dirsch <sndirsch at 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 at suse.de>
+Reviewed-by: Emil Velikov <emil.velikov at 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 at 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
+


More information about the buildroot mailing list