alarm/xf86-video-armsoc-odroid: patch fix

closes #1269
This commit is contained in:
Kevin Mihelich 2015-09-27 13:36:06 +00:00
parent 2833cb21bf
commit ce3ef235b8
2 changed files with 21 additions and 5 deletions

View file

@ -1,11 +1,12 @@
From a06634be9fe056b051e271ad4b83607d4b4ee2fc Mon Sep 17 00:00:00 2001
From b8d09aae2902c60e89f48a1f45e822b64c9242a8 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sun, 15 Feb 2015 11:16:26 -0700
Subject: [PATCH] compat for newer xorg
---
src/armsoc_dumb.c | 1 +
1 file changed, 1 insertion(+)
src/armsoc_dumb.c | 1 +
src/drmmode_display.c | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/src/armsoc_dumb.c b/src/armsoc_dumb.c
index 8f29b7a..879d77c 100644
@ -19,6 +20,21 @@ index 8f29b7a..879d77c 100644
#include <xf86.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 85ce56f..1b47632 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -32,6 +32,10 @@
#include "config.h"
#endif
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
#include "xf86DDC.h"
#include "xf86RandR12.h"
--
2.3.0
2.5.2

View file

@ -17,7 +17,7 @@ provides=(xf86-video-armsoc)
source=("$pkgname::git+https://github.com/mdrjr/xf86-video-armsoc.git#commit=${_commit}"
'0001-compat-for-newer-xorg.patch')
md5sums=('SKIP'
'c1d56bbecc8f4749b47052a90360aea6')
'dd9885df7c3a5ec817a859c863860bc0')
pkgver() {
cd $pkgname