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

baggins baggins at pld-linux.org
Sun Apr 7 21:11:04 CEST 2013


commit 387c59dd568b03a973496056eb0ddc012fd87efd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 7 21:10:51 2013 +0200

    - fix building with xserver 1.14
    - rel 3

 mibstore.patch               | 34 ++++++++++++++++++++++++++++++++++
 xorg-driver-video-glint.spec |  4 +++-
 2 files changed, 37 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-glint.spec b/xorg-driver-video-glint.spec
index 0af3ac8..5c4a0ca 100644
--- a/xorg-driver-video-glint.spec
+++ b/xorg-driver-video-glint.spec
@@ -2,11 +2,12 @@ Summary:	X.org video driver for GLINT/Permedia video chips
 Summary(pl.UTF-8):	Sterownik obrazu X.org dla układów graficznych GLINT/Permedia
 Name:		xorg-driver-video-glint
 Version:	1.2.8
-Release:	2
+Release:	3
 License:	MIT
 Group:		X11/Applications
 Source0:	http://xorg.freedesktop.org/releases/individual/driver/xf86-video-glint-%{version}.tar.bz2
 # Source0-md5:	775579c67dc55ff4909de3638bafd19f
+Patch0:		mibstore.patch
 URL:		http://xorg.freedesktop.org/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
@@ -41,6 +42,7 @@ Permedia 3, R3, R4) oraz Texas Instruments (Permedia, Permedia 2).
 
 %prep
 %setup -q -n xf86-video-glint-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/mibstore.patch b/mibstore.patch
new file mode 100644
index 0000000..157b9a6
--- /dev/null
+++ b/mibstore.patch
@@ -0,0 +1,34 @@
+From 073d5b0b392781bf4a6aa7f9e2dbe2ae51caed2c Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax at redhat.com>
+Date: Tue, 25 Sep 2012 08:54:38 -0400
+Subject: [PATCH] Remove mibstore.h
+
+Signed-off-by: Adam Jackson <ajax at redhat.com>
+---
+ src/glint_driver.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/glint_driver.c b/src/glint_driver.c
+index b6d20a9..aa78516 100644
+--- a/src/glint_driver.c
++++ b/src/glint_driver.c
+@@ -52,8 +52,6 @@
+ #include "compiler.h"
+ #include "mipointer.h"
+ 
+-#include "mibstore.h"
+-
+ #include "pm3_regs.h"
+ #include "glint_regs.h"
+ #include "IBM.h"
+@@ -2904,7 +2902,6 @@ GLINTScreenInit(SCREEN_INIT_ARGS_DECL)
+         }
+     }
+ 
+-    miInitializeBackingStore(pScreen);
+     xf86SetBackingStore(pScreen);
+     xf86SetSilkenMouse(pScreen);
+ 
+-- 
+1.8.0.2
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-glint.git/commitdiff/387c59dd568b03a973496056eb0ddc012fd87efd



More information about the pld-cvs-commit mailing list