From 12a6eff800f484183b30ac2d9a25c345ca6a0e80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 12 Mar 2013 09:39:07 +0100 Subject: [PATCH] - rel 4; fix build with xserver 1.14 --- build.patch | 30 ++++++++++++++++++++++++++++++ xorg-driver-video-dummy.spec | 4 +++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 build.patch diff --git a/build.patch b/build.patch new file mode 100644 index 0000000..df1d580 --- /dev/null +++ b/build.patch @@ -0,0 +1,30 @@ +commit 44f04fd3046043ed31369025f34353c4e0e5c1cd +Author: Adam Jackson +Date: Tue Sep 25 08:54:36 2012 -0400 + + Remove mibstore.h + + Signed-off-by: Adam Jackson + +diff --git a/src/dummy_driver.c b/src/dummy_driver.c +index 62066d6..6062c39 100644 +--- a/src/dummy_driver.c ++++ b/src/dummy_driver.c +@@ -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); + diff --git a/xorg-driver-video-dummy.spec b/xorg-driver-video-dummy.spec index 495cfaf..70630af 100644 --- a/xorg-driver-video-dummy.spec +++ b/xorg-driver-video-dummy.spec @@ -2,11 +2,12 @@ Summary: X.org dummy video driver Summary(pl.UTF-8): Pusty sterownik obrazu X.org Name: xorg-driver-video-dummy Version: 0.3.6 -Release: 3 +Release: 4 License: MIT Group: X11/Applications Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-dummy-%{version}.tar.bz2 # Source0-md5: dc40aebf031f933523dcf101befe99e4 +Patch0: build.patch URL: http://xorg.freedesktop.org/ BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -33,6 +34,7 @@ Pusty sterownik obrazu X.org. %prep %setup -q -n xf86-video-dummy-%{version} +%patch0 -p1 %build %{__libtoolize} -- 2.44.0