diff --git a/0001-Remove-mibstore.h.patch b/0001-Remove-mibstore.h.patch new file mode 100644 index 0000000..94ea218 --- /dev/null +++ b/0001-Remove-mibstore.h.patch @@ -0,0 +1,35 @@ +From 44f04fd3046043ed31369025f34353c4e0e5c1cd Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Tue, 25 Sep 2012 08:54:36 -0400 +Subject: [PATCH] Remove mibstore.h + +Signed-off-by: Adam Jackson +--- + src/dummy_driver.c | 4 ---- + 1 file changed, 4 deletions(-) + +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); + +-- +1.8.0.2 + diff --git a/xorg-x11-drv-dummy.spec b/xorg-x11-drv-dummy.spec index 405439f..aadff73 100644 --- a/xorg-x11-drv-dummy.spec +++ b/xorg-x11-drv-dummy.spec @@ -5,12 +5,13 @@ Summary: Xorg X11 dummy video driver Name: xorg-x11-drv-dummy Version: 0.3.6 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://www.x.org License: MIT Group: User Interface/X Hardware Support Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 +Patch0: 0001-Remove-mibstore.h.patch ExcludeArch: s390 s390x %{?rhel:ppc ppc64} @@ -24,6 +25,7 @@ X.Org X11 dummy video driver. %prep %setup -q -n %{tarball}-%{version} +%patch0 -p1 -b .mibstore %build %configure --disable-static