[packages/xorg-driver-video-dummy] - rel 4; fix build with xserver 1.14
arekm
arekm at pld-linux.org
Tue Mar 12 09:39:10 CET 2013
commit 12a6eff800f484183b30ac2d9a25c345ca6a0e80
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 12 09:39:07 2013 +0100
- rel 4; fix build with xserver 1.14
build.patch | 30 ++++++++++++++++++++++++++++++
xorg-driver-video-dummy.spec | 4 +++-
2 files changed, 33 insertions(+), 1 deletion(-)
---
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}
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 <ajax at redhat.com>
+Date: Tue Sep 25 08:54:36 2012 -0400
+
+ Remove mibstore.h
+
+ Signed-off-by: Adam Jackson <ajax at redhat.com>
+
+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);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-dummy.git/commitdiff/12a6eff800f484183b30ac2d9a25c345ca6a0e80
More information about the pld-cvs-commit
mailing list