alarm/xf86-video-imx fix

This commit is contained in:
Kevin Mihelich 2015-02-15 18:37:31 +00:00
parent 7604d0c801
commit 435203a40a
2 changed files with 60 additions and 2 deletions

View file

@ -18,13 +18,15 @@ source=("http://archlinuxarm.org/builder/src/xserver-xorg-video-imx-${pkgver}.ta
'Fix-error-unknown-type-name-uint.patch'
'Make-video-API-forward-and-backward-compatible.patch'
'ext-Update-to-newer-swap-macros.patch'
'xf86-video-imxfb-fix-m4-hardcodded-paths.patch')
'xf86-video-imxfb-fix-m4-hardcodded-paths.patch'
'xserver-1.17-compat.patch')
md5sums=('d19148399b5d1c4dab90d0cc6f2c4789'
'2599833ffb69482ed2fae1c6bbfe0b3e'
'02db4718380ed7073ea573725256b5d2'
'c4ddcff1f2d465eaccb64a14288510e2'
'f3ee43174a3a90e7a25dd5b9422caf34'
'aa92032c374f77845ad35f35db6dd231')
'aa92032c374f77845ad35f35db6dd231'
'b3ee8ded808cc16e9404ee45bba5438a')
prepare() {
cd "${srcdir}/${srcname}-${pkgver}"
@ -34,6 +36,7 @@ prepare() {
patch -p1 -i ../Make-video-API-forward-and-backward-compatible.patch
patch -p1 -i ../ext-Update-to-newer-swap-macros.patch
patch -p1 -i ../xf86-video-imxfb-fix-m4-hardcodded-paths.patch
patch -p1 -i ../xserver-1.17-compat.patch
}
build() {

View file

@ -0,0 +1,55 @@
diff -urN a/src/imx_accel.c b/src/imx_accel.c
--- a/src/imx_accel.c 2011-07-26 15:22:47.000000000 -0600
+++ b/src/imx_accel.c 2015-02-15 11:33:42.364386418 -0700
@@ -23,6 +23,7 @@
*/
#include <stdint.h>
+#include <xorg-server.h>
#include "xf86.h"
#include "imx_accel.h"
diff -urN a/src/imx_display.c b/src/imx_display.c
--- a/src/imx_display.c 2015-02-15 11:29:45.368705377 -0700
+++ b/src/imx_display.c 2015-02-15 11:34:33.749486568 -0700
@@ -32,6 +32,7 @@
#include <fcntl.h>
#include <linux/fb.h>
+#include <xorg-server.h>
#include "xf86.h"
#include "xf86Priv.h"
#include "xf86Crtc.h"
diff -urN a/src/imx_exa_offscreen.c b/src/imx_exa_offscreen.c
--- a/src/imx_exa_offscreen.c 2015-02-15 11:29:45.378705414 -0700
+++ b/src/imx_exa_offscreen.c 2015-02-15 11:31:19.819025619 -0700
@@ -55,6 +55,7 @@
*/
+#include <xorg-server.h>
#include "xf86.h"
#include "exa.h"
#include "imx.h"
diff -urN a/src/imx_exa_z160.c b/src/imx_exa_z160.c
--- a/src/imx_exa_z160.c 2015-02-15 11:30:51.368936740 -0700
+++ b/src/imx_exa_z160.c 2015-02-15 11:29:45.403705509 -0700
@@ -22,6 +22,7 @@
* SOFTWARE.
*/
+#include <xorg-server.h>
#include "xf86.h"
#include "xf86_OSproc.h"
#include "exa.h"
diff -urN a/src/imx_ext.c b/src/imx_ext.c
--- a/src/imx_ext.c 2015-02-15 11:29:45.388705452 -0700
+++ b/src/imx_ext.c 2015-02-15 11:36:11.689641208 -0700
@@ -22,6 +22,7 @@
* SOFTWARE.
*/
+#include <xorg-server.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include <dixstruct.h>