commit 04350cf9138e34758e740c7b1319ebfbe9d19a92
Author: Jan Rękorajski <bagg...@pld-linux.org>
Date:   Sun Apr 7 21:16:13 2013 +0200

    - fix building with xserver 1.14
    - rel 3

 mibstore.patch                   | 40 ++++++++++++++++++++++++++++++++++++++++
 xorg-driver-video-rendition.spec |  4 +++-
 2 files changed, 43 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-rendition.spec b/xorg-driver-video-rendition.spec
index c8e2d97..d764785 100644
--- a/xorg-driver-video-rendition.spec
+++ b/xorg-driver-video-rendition.spec
@@ -2,11 +2,12 @@ Summary:      X.org video driver for Rendition/Micron video 
chips
 Summary(pl.UTF-8):     Sterownik obrazu X.org dla układów graficznych 
Rendition/Micron
 Name:          xorg-driver-video-rendition
 Version:       4.2.5
-Release:       2
+Release:       3
 License:       MIT
 Group:         X11/Applications
 Source0:       
http://xorg.freedesktop.org/releases/individual/driver/xf86-video-rendition-%{version}.tar.bz2
 # Source0-md5: 6db439a0f89e6f00c4f5175510d8e0c1
+Patch0:                mibstore.patch
 URL:           http://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
@@ -42,6 +43,7 @@ V1000, Verite V2100, Verite V2200.
 
 %prep
 %setup -q -n xf86-video-rendition-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/mibstore.patch b/mibstore.patch
new file mode 100644
index 0000000..9ada951
--- /dev/null
+++ b/mibstore.patch
@@ -0,0 +1,40 @@
+From 3a3ee1c45e54a808947cc26ca11f0a5299571053 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <a...@redhat.com>
+Date: Tue, 25 Sep 2012 08:54:50 -0400
+Subject: [PATCH] Remove mibstore.h
+
+Signed-off-by: Adam Jackson <a...@redhat.com>
+---
+ src/rendition.c | 1 -
+ src/rendition.h | 3 ---
+ 2 files changed, 4 deletions(-)
+
+diff --git a/src/rendition.c b/src/rendition.c
+index 7c74f76..888bb4a 100644
+--- a/src/rendition.c
++++ b/src/rendition.c
+@@ -1173,7 +1173,6 @@ renditionScreenInit(SCREEN_INIT_ARGS_DECL)
+     fbPictureInit (pScreen, 0, 0);
+ 
+     xf86SetBlackWhitePixels(pScreen);
+-    miInitializeBackingStore(pScreen);
+    
+     /*********************************************************/
+     /* The actual setup of the driver-specific code          */
+diff --git a/src/rendition.h b/src/rendition.h
+index f7f13d4..297117e 100644
+--- a/src/rendition.h
++++ b/src/rendition.h
+@@ -28,9 +28,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"
+ 
+-- 
+1.8.0.2
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-rendition.git/commitdiff/04350cf9138e34758e740c7b1319ebfbe9d19a92

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to