summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-03-12 16:38:27 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-03-12 16:38:27 +0000
commitfb77059d429f2f68992c937b0d31d2becf0d87c1 (patch)
tree23d98f13c295941ed5b26cd7917adf514cbab9e4 /x11-drivers/xf86-video-vmware
parentFix building against xorg-server-1.14 (diff)
downloadgentoo-2-fb77059d429f2f68992c937b0d31d2becf0d87c1.tar.gz
gentoo-2-fb77059d429f2f68992c937b0d31d2becf0d87c1.tar.bz2
gentoo-2-fb77059d429f2f68992c937b0d31d2becf0d87c1.zip
Fix building against xorg-server-1.14
(Portage version: 2.1.11.52/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'x11-drivers/xf86-video-vmware')
-rw-r--r--x11-drivers/xf86-video-vmware/ChangeLog9
-rw-r--r--x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.0-remove-mibstore_h.patch55
-rw-r--r--x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.0-r1.ebuild20
3 files changed, 83 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-vmware/ChangeLog b/x11-drivers/xf86-video-vmware/ChangeLog
index 625eedb42add..8ad04d239609 100644
--- a/x11-drivers/xf86-video-vmware/ChangeLog
+++ b/x11-drivers/xf86-video-vmware/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-drivers/xf86-video-vmware
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-vmware/ChangeLog,v 1.71 2013/01/20 18:53:56 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-vmware/ChangeLog,v 1.72 2013/03/12 16:38:27 chithanh Exp $
+
+*xf86-video-vmware-13.0.0-r1 (12 Mar 2013)
+
+ 12 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +files/xf86-video-vmware-13.0.0-remove-mibstore_h.patch,
+ +xf86-video-vmware-13.0.0-r1.ebuild:
+ Fix building against xorg-server-1.14
*xf86-video-vmware-13.0.0 (20 Jan 2013)
diff --git a/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.0-remove-mibstore_h.patch b/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.0-remove-mibstore_h.patch
new file mode 100644
index 000000000000..70597def7ddd
--- /dev/null
+++ b/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.0-remove-mibstore_h.patch
@@ -0,0 +1,55 @@
+From 23d87c92b7211cc5249eefe4ab3a2c7f370e279e Mon Sep 17 00:00:00 2001
+From: Zack Rusin <zackr@vmware.com>
+Date: Thu, 14 Feb 2013 22:33:01 +0000
+Subject: Kill mibstore
+
+It was a noop for at least 5 years and it has been removed.
+
+Signed-off-by: Zack Rusin <zackr@vmware.com>
+---
+diff --git a/saa/saa_priv.h b/saa/saa_priv.h
+index 6652054..5d81453 100644
+--- a/saa/saa_priv.h
++++ b/saa/saa_priv.h
+@@ -48,7 +48,6 @@
+ #include "pixmapstr.h"
+ #include "windowstr.h"
+ #include "servermd.h"
+-#include "mibstore.h"
+ #include "colormapst.h"
+ #include "gcstruct.h"
+ #include "input.h"
+diff --git a/src/vmware.c b/src/vmware.c
+index 41201f1..6b74e14 100644
+--- a/src/vmware.c
++++ b/src/vmware.c
+@@ -23,7 +23,6 @@ char rcsId_vmware[] =
+ #include "xf86Pci.h" /* pci */
+
+ #include "mipointer.h" /* sw cursor */
+-#include "mibstore.h" /* backing store */
+ #include "micmap.h" /* mi color map */
+ #include "vgaHW.h" /* VGA hardware */
+ #include "fb.h"
+@@ -1483,7 +1482,6 @@ VMWAREScreenInit(SCREEN_INIT_ARGS_DECL)
+ * If backing store is to be supported (as is usually the case),
+ * initialise it.
+ */
+- miInitializeBackingStore(pScreen);
+ xf86SetBackingStore(pScreen);
+ xf86SetSilkenMouse(pScreen);
+
+diff --git a/vmwgfx/vmwgfx_driver.c b/vmwgfx/vmwgfx_driver.c
+index 9959ffb..7863ba2 100644
+--- a/vmwgfx/vmwgfx_driver.c
++++ b/vmwgfx/vmwgfx_driver.c
+@@ -1036,7 +1036,6 @@ drv_screen_init(SCREEN_INIT_ARGS_DECL)
+ (ms->only_hw_presents) ? "enabled" : "disabled");
+ }
+
+- miInitializeBackingStore(pScreen);
+ xf86SetBackingStore(pScreen);
+ xf86SetSilkenMouse(pScreen);
+ miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
+--
+cgit v0.9.0.2-2-gbebe
diff --git a/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.0-r1.ebuild b/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.0-r1.ebuild
new file mode 100644
index 000000000000..bd1841bc451a
--- /dev/null
+++ b/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.0-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.0-r1.ebuild,v 1.1 2013/03/12 16:38:27 chithanh Exp $
+
+EAPI=5
+
+XORG_DRI=always
+inherit xorg-2
+
+DESCRIPTION="VMware SVGA video driver"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libdrm[libkms,video_cards_vmware]
+ media-libs/mesa[xa]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-remove-mibstore_h.patch
+)