[packages/xorg-driver-video-xgixp] - rel 4; fix build with xserver 1.14

arekm arekm at pld-linux.org
Tue Mar 12 09:29:22 CET 2013


commit c6777b0275a56477157b89f1e3c79b0947dd9427
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 12 09:29:18 2013 +0100

    - rel 4; fix build with xserver 1.14

 build.patch                  | 32 ++++++++++++++++++++++++++++++++
 xorg-driver-video-xgixp.spec |  4 +++-
 2 files changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-xgixp.spec b/xorg-driver-video-xgixp.spec
index 660192e..121a7a4 100644
--- a/xorg-driver-video-xgixp.spec
+++ b/xorg-driver-video-xgixp.spec
@@ -2,11 +2,12 @@ Summary:	X.org video drivers for XGI XP adapters
 Summary(pl.UTF-8):	Sterowniki obrazu X.org do kart graficznych XGI XP
 Name:		xorg-driver-video-xgixp
 Version:	1.8.1
-Release:	3
+Release:	4
 License:	MIT
 Group:		X11/Applications
 Source0:	http://xorg.freedesktop.org/releases/individual/driver/xf86-video-xgixp-%{version}.tar.bz2
 # Source0-md5:	590ec61b6368fee3805623958eb843cb
+Patch0:		build.patch
 URL:		http://xorg.freedesktop.org/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
@@ -41,6 +42,7 @@ Sterowniki obrazu X.org do kart graficznych XGI XP:
 
 %prep
 %setup -q -n xf86-video-xgixp-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..78601bd
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,32 @@
+commit a84753dd495bcfd724406cae470e17d0c561d0c3
+Author: Adam Jackson <ajax at redhat.com>
+Date:   Tue Sep 25 08:55:05 2012 -0400
+
+    Remove mibstore.h
+    
+    Signed-off-by: Adam Jackson <ajax at redhat.com>
+
+diff --git a/src/xgi_driver.c b/src/xgi_driver.c
+index 580a03a..8ce071b 100644
+--- a/src/xgi_driver.c
++++ b/src/xgi_driver.c
+@@ -53,8 +53,6 @@
+ 
+ /* initialise a SW cursor */
+ #include "mipointer.h"
+-/* implementing backing store */
+-#include "mibstore.h"
+ 
+ /* colormap initialization */
+ #include "micmap.h"
+@@ -2041,10 +2039,6 @@ pScrn->pScreen = pScreen;
+         xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "FB Manager init failed \n");
+     }
+ 
+-    /* If backing store is to be supported (as is usually the case), initialise it. */
+-    miInitializeBackingStore(pScreen);
+-    XGIDebug(DBG_FUNCTION, "[DBG] Jong 06142006-After miInitializeBackingStore()\n");
+-
+     xf86SetBackingStore(pScreen);
+     XGIDebug(DBG_FUNCTION, "[DBG] Jong 06142006-After xf86SetBackingStore()\n");
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-xgixp.git/commitdiff/c6777b0275a56477157b89f1e3c79b0947dd9427



More information about the pld-cvs-commit mailing list