[packages/xorg-driver-video-siliconmotion] - fix building with xserver 1.14 - rel 3

baggins baggins at pld-linux.org
Sun Apr 7 21:18:24 CEST 2013


commit 12251ac23783b62b7ff1a6d555bc0e8bb6610d65
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 7 21:18:12 2013 +0200

    - fix building with xserver 1.14
    - rel 3

 mibstore.patch                       | 26 ++++++++++++++++++++++++++
 xorg-driver-video-siliconmotion.spec |  4 +++-
 2 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-siliconmotion.spec b/xorg-driver-video-siliconmotion.spec
index 1b68110..7c20fa4 100644
--- a/xorg-driver-video-siliconmotion.spec
+++ b/xorg-driver-video-siliconmotion.spec
@@ -2,11 +2,12 @@ Summary:	X.org video driver for Silicon Motion video chips
 Summary(pl.UTF-8):	Sterownik obrazu X.org dla układów graficznych Silicon Motion
 Name:		xorg-driver-video-siliconmotion
 Version:	1.7.7
-Release:	2
+Release:	3
 License:	MIT
 Group:		X11/Applications
 Source0:	http://xorg.freedesktop.org/releases/individual/driver/xf86-video-siliconmotion-%{version}.tar.bz2
 # Source0-md5:	dc139f8ea17c40fb7bcc89181e9dbfb3
+Patch0:		mibstore.patch
 URL:		http://xorg.freedesktop.org/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
@@ -54,6 +55,7 @@ Obsługuje karty PCI i AGP oparte na następujących układach:
 
 %prep
 %setup -q -n xf86-video-siliconmotion-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/mibstore.patch b/mibstore.patch
new file mode 100644
index 0000000..32e38fc
--- /dev/null
+++ b/mibstore.patch
@@ -0,0 +1,26 @@
+From f19d7e463c30f1364e82e8c9f87b8a8407d53680 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax at redhat.com>
+Date: Wed, 9 Jan 2013 22:59:39 -0500
+Subject: [PATCH] Remove miInitializeBackingStore()
+
+Signed-off-by: Adam Jackson <ajax at redhat.com>
+---
+ src/smi_driver.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/smi_driver.c b/src/smi_driver.c
+index 4794571..134db79 100644
+--- a/src/smi_driver.c
++++ b/src/smi_driver.c
+@@ -1750,8 +1750,6 @@ SMI_ScreenInit(SCREEN_INIT_ARGS_DECL)
+ 		   "Done writing mode.  Register dump:\n");
+     SMI_PrintRegs(pScrn);
+ 
+-    miInitializeBackingStore(pScreen);
+-
+ #ifdef HAVE_XMODES
+     xf86DiDGAInit(pScreen, (unsigned long)(pSmi->FBBase + pScrn->fbOffset));
+ #endif
+-- 
+1.8.0.2
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-siliconmotion.git/commitdiff/12251ac23783b62b7ff1a6d555bc0e8bb6610d65



More information about the pld-cvs-commit mailing list