[packages/xorg-driver-video-tseng] - rel 4; fix build with xserver 1.14
arekm
arekm at pld-linux.org
Tue Mar 12 09:54:32 CET 2013
commit a923ba366b5e388533c9fe65800986e34313d4de
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 12 09:54:30 2013 +0100
- rel 4; fix build with xserver 1.14
build.patch | 30 ++++++++++++++++++++++++++++++
xorg-driver-video-tseng.spec | 4 +++-
2 files changed, 33 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-tseng.spec b/xorg-driver-video-tseng.spec
index be52668..e8bbd62 100644
--- a/xorg-driver-video-tseng.spec
+++ b/xorg-driver-video-tseng.spec
@@ -2,11 +2,12 @@ Summary: X.org video driver for Tseng Labs video adapters
Summary(pl.UTF-8): Sterownik obrazu X.org dla kart graficznych Tseng Labs
Name: xorg-driver-video-tseng
Version: 1.2.5
-Release: 3
+Release: 4
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tseng-%{version}.tar.bz2
# Source0-md5: 116ec66b4efcd378a5152defa769da33
+Patch0: build.patch
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
@@ -38,6 +39,7 @@ Sterownik obrazu X.org dla kart graficznych Tseng Labs.
%prep
%setup -q -n xf86-video-tseng-%{version}
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..a9d5e52
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,30 @@
+commit d2d5c8437e401181f56804cc68594c4831a0983d
+Author: Adam Jackson <ajax at redhat.com>
+Date: Tue Sep 25 08:55:02 2012 -0400
+
+ Remove mibstore.h
+
+ Signed-off-by: Adam Jackson <ajax at redhat.com>
+
+diff --git a/src/tseng_driver.c b/src/tseng_driver.c
+index ffafb19..0db62e5 100644
+--- a/src/tseng_driver.c
++++ b/src/tseng_driver.c
+@@ -39,9 +39,6 @@
+ /* All drivers initialising the SW cursor need this */
+ #include "mipointer.h"
+
+-/* All drivers implementing backing store need this */
+-#include "mibstore.h"
+-
+ #include "fb.h"
+
+ #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
+@@ -1453,7 +1450,6 @@ TsengScreenInit(SCREEN_INIT_ARGS_DECL)
+ }
+ }
+
+- miInitializeBackingStore(pScreen);
+ xf86SetSilkenMouse(pScreen);
+ /* Initialise cursor functions */
+ miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-tseng.git/commitdiff/a923ba366b5e388533c9fe65800986e34313d4de
More information about the pld-cvs-commit
mailing list