summaryrefslogtreecommitdiff
path: root/xorg-xf86-video-dummy
diff options
context:
space:
mode:
authorFredrik Rinnestam <fredrik@crux.nu>2013-03-09 15:32:56 +0100
committerFredrik Rinnestam <fredrik@crux.nu>2013-03-09 15:32:56 +0100
commit1adef3f64a8f13920fba8bb44f75e00d273da455 (patch)
tree81c76c62490c35b86ca89f97a36a9affbaf04012 /xorg-xf86-video-dummy
parent77cd8356c7fe41c73a2ad4c8d4245957d6569b96 (diff)
downloadxorg-1adef3f64a8f13920fba8bb44f75e00d273da455.tar.gz
xorg-1adef3f64a8f13920fba8bb44f75e00d273da455.tar.xz
xorg-xf86-video-dummy: buildfix for xorg-xserver 1.14
Diffstat (limited to 'xorg-xf86-video-dummy')
-rw-r--r--xorg-xf86-video-dummy/.md5sum1
-rw-r--r--xorg-xf86-video-dummy/Pkgfile4
-rw-r--r--xorg-xf86-video-dummy/mibstore.patch21
3 files changed, 24 insertions, 2 deletions
diff --git a/xorg-xf86-video-dummy/.md5sum b/xorg-xf86-video-dummy/.md5sum
index c2bbcdd1..5b51a3a4 100644
--- a/xorg-xf86-video-dummy/.md5sum
+++ b/xorg-xf86-video-dummy/.md5sum
@@ -1 +1,2 @@
+148391171d0755881b97b0348761f219 mibstore.patch
dc40aebf031f933523dcf101befe99e4 xf86-video-dummy-0.3.6.tar.bz2
diff --git a/xorg-xf86-video-dummy/Pkgfile b/xorg-xf86-video-dummy/Pkgfile
index 6298f74f..4c6f902b 100644
--- a/xorg-xf86-video-dummy/Pkgfile
+++ b/xorg-xf86-video-dummy/Pkgfile
@@ -6,11 +6,11 @@
name=xorg-xf86-video-dummy
version=0.3.6
release=1
-source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-dummy-$version.tar.bz2)
+source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-dummy-$version.tar.bz2 mibstore.patch)
build() {
cd xf86-video-dummy-$version
-
+ patch -p1 -i $SRC/mibstore.patch
./configure --prefix=/usr
make
diff --git a/xorg-xf86-video-dummy/mibstore.patch b/xorg-xf86-video-dummy/mibstore.patch
new file mode 100644
index 00000000..b76c831c
--- /dev/null
+++ b/xorg-xf86-video-dummy/mibstore.patch
@@ -0,0 +1,21 @@
+diff -rupN xf86-video-dummy-0.3.6-orig/src/dummy_driver.c xf86-video-dummy-0.3.6/src/dummy_driver.c
+--- xf86-video-dummy-0.3.6-orig/src/dummy_driver.c 2013-03-09 15:14:36.799505563 +0100
++++ xf86-video-dummy-0.3.6/src/dummy_driver.c 2013-03-09 15:15:05.087473139 +0100
+@@ -14,9 +14,6 @@
+ /* All drivers initialising the SW cursor need this */
+ #include "mipointer.h"
+
+-/* All drivers implementing backing store need this */
+-#include "mibstore.h"
+-
+ /* All drivers using the mi colormap manipulation need this */
+ #include "micmap.h"
+
+@@ -617,7 +614,6 @@ DUMMYScreenInit(SCREEN_INIT_ARGS_DECL)
+ , lines - pScrn->virtualY);
+ }
+
+- miInitializeBackingStore(pScreen);
+ xf86SetBackingStore(pScreen);
+ xf86SetSilkenMouse(pScreen);
+

Generated by cgit