aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2018-07-21 16:16:45 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-28 23:09:07 +0200
commit63cb49fd90d6e69ca6171182b12728f1517f8f3f (patch)
tree57aac0b8ecb129a03e6ccba75fc8f2abad6ba7d7
parent14c52533f14dd3223e9486db73edf3c517c3df01 (diff)
downloadbuildroot-63cb49fd90d6e69ca6171182b12728f1517f8f3f.tar.gz
buildroot-63cb49fd90d6e69ca6171182b12728f1517f8f3f.tar.bz2
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>
-rw-r--r--package/x11r7/xdriver_xf86-video-r128/0002-include-stdint-h.patch34
1 files changed, 34 insertions, 0 deletions
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@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
+